Click here to Skip to main content
15,903,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About burning libraries... Pin
Joe Woodbury20-Oct-03 9:45
professionalJoe Woodbury20-Oct-03 9:45 
GeneralRe: About burning libraries... Pin
Rafael Fernández López20-Oct-03 11:02
Rafael Fernández López20-Oct-03 11:02 
GeneralRe: About burning libraries... Pin
jhwurmbach20-Oct-03 22:07
jhwurmbach20-Oct-03 22:07 
GeneralRe: About burning libraries... Pin
Rickard Andersson2020-Oct-03 10:35
Rickard Andersson2020-Oct-03 10:35 
GeneralRe: About burning libraries... Pin
Rafael Fernández López20-Oct-03 10:58
Rafael Fernández López20-Oct-03 10:58 
GeneralRe: About burning libraries... Pin
Terry O'Nolley20-Oct-03 11:48
Terry O'Nolley20-Oct-03 11:48 
GeneralRe: About burning libraries... Pin
Rafael Fernández López20-Oct-03 19:23
Rafael Fernández López20-Oct-03 19:23 
GeneralRe: About burning libraries... Pin
Terry O'Nolley21-Oct-03 13:49
Terry O'Nolley21-Oct-03 13:49 
Rafael Fernández López wrote:
void life ( bool me, bool her )
{

if ( her )
{
me = true ;
}
else
{
me = false ;
}
}


Actually, your first idea was better (but syntactically challenged) - since a while loop would continue forever as long as her was TRUE. The way it is now, life will only check once for the value of her and then terminate (hopefully peacefully while you sleep) Smile | :)

void life(bool me, bool her)
{
   while(her)
   {
      me = true;
   }
   me = false ;
}






GeneralRe: About burning libraries... Pin
Anthony_Yio20-Oct-03 15:24
Anthony_Yio20-Oct-03 15:24 
GeneralRe: About burning libraries... Pin
Rafael Fernández López20-Oct-03 19:22
Rafael Fernández López20-Oct-03 19:22 
GeneralRe: About burning libraries... Pin
Anthony_Yio20-Oct-03 20:07
Anthony_Yio20-Oct-03 20:07 
GeneralRe: About burning libraries... Pin
Iain Clarke, Warrior Programmer21-Oct-03 23:37
Iain Clarke, Warrior Programmer21-Oct-03 23:37 
GeneralRe: About burning libraries... Pin
jhwurmbach20-Oct-03 22:14
jhwurmbach20-Oct-03 22:14 
Generalhelp using SetBitmap, CButton - Urgent Pin
swerajan20-Oct-03 8:23
swerajan20-Oct-03 8:23 
GeneralRe: help using SetBitmap, CButton - Urgent Pin
Rafael Fernández López20-Oct-03 8:26
Rafael Fernández López20-Oct-03 8:26 
GeneralRe: help using SetBitmap, CButton - Urgent Pin
swerajan20-Oct-03 8:36
swerajan20-Oct-03 8:36 
GeneralRe: help using SetBitmap, CButton - Urgent Pin
Rafael Fernández López20-Oct-03 8:51
Rafael Fernández López20-Oct-03 8:51 
GeneralRe: help using SetBitmap, CButton - Urgent Pin
DaFrawg26-Oct-03 3:27
DaFrawg26-Oct-03 3:27 
Generalupdating Text Pin
K. Shaffer20-Oct-03 6:25
K. Shaffer20-Oct-03 6:25 
GeneralRe: updating Text Pin
Michael P Butler20-Oct-03 6:37
Michael P Butler20-Oct-03 6:37 
GeneralRe: updating Text Pin
K. Shaffer20-Oct-03 6:46
K. Shaffer20-Oct-03 6:46 
GeneralRe: updating Text Pin
Rafael Fernández López20-Oct-03 8:12
Rafael Fernández López20-Oct-03 8:12 
QuestionHow to determine the focused control? Pin
User-37793620-Oct-03 6:23
User-37793620-Oct-03 6:23 
AnswerRe: How to determine the focused control? Pin
Michael P Butler20-Oct-03 6:40
Michael P Butler20-Oct-03 6:40 
AnswerRe: How to determine the focused control? Pin
Rafael Fernández López20-Oct-03 6:40
Rafael Fernández López20-Oct-03 6:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.