Click here to Skip to main content
15,912,578 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A simple threading problem.. Pin
CPallini3-Mar-08 0:10
mveCPallini3-Mar-08 0:10 
GeneralRe: A simple threading problem.. Pin
Mark Salsbery3-Mar-08 6:49
Mark Salsbery3-Mar-08 6:49 
Generalloop control Pin
rp_suman2-Mar-08 21:49
rp_suman2-Mar-08 21:49 
GeneralRe: loop control Pin
Cedric Moonen2-Mar-08 21:52
Cedric Moonen2-Mar-08 21:52 
GeneralRe: loop control Pin
rp_suman3-Mar-08 0:41
rp_suman3-Mar-08 0:41 
GeneralRe: loop control Pin
GauranG Shah2-Mar-08 23:24
GauranG Shah2-Mar-08 23:24 
GeneralRe: loop control Pin
rp_suman3-Mar-08 0:51
rp_suman3-Mar-08 0:51 
GeneralRe: loop control Pin
BadKarma3-Mar-08 1:54
BadKarma3-Mar-08 1:54 
rp_suman wrote:
Presently, I am using the "goto".
"goto" seems smarter than checking the same condition in all for loops and "break"ing from them.

Not really. The goto statement should rarely be used. It could be used when your application is really time critical. In any other case you should try to use condition.
for() //main for loop
{
 for() //for loop1
 {
  if(condition)
  {
   //code
  }
 }
 if(!condition)
 {
  for() //for loop2
  {
  }
  for() //for loop3
  {
  }
 }  // end if(!condition)
}


codito ergo sum

GeneralRe: loop control Pin
rp_suman3-Mar-08 2:27
rp_suman3-Mar-08 2:27 
GeneralSkipws Pin
George_George2-Mar-08 21:28
George_George2-Mar-08 21:28 
QuestionRe: Skipws Pin
Maximilien3-Mar-08 0:45
Maximilien3-Mar-08 0:45 
GeneralRe: Skipws Pin
George_George3-Mar-08 0:55
George_George3-Mar-08 0:55 
Questiondependent DLL intresting? Pin
Ravinder Are2-Mar-08 20:03
Ravinder Are2-Mar-08 20:03 
AnswerRe: dependent DLL intresting? Pin
Naveen2-Mar-08 21:15
Naveen2-Mar-08 21:15 
QuestionHow to convert BMP to multipage TIFF file Pin
VmTHiru2-Mar-08 19:46
VmTHiru2-Mar-08 19:46 
GeneralRe: How to convert BMP to multipage TIFF file Pin
ThatsAlok2-Mar-08 20:28
ThatsAlok2-Mar-08 20:28 
GeneralRe: How to convert BMP to multipage TIFF file Pin
Mark Salsbery3-Mar-08 6:57
Mark Salsbery3-Mar-08 6:57 
GeneralRe: How to convert BMP to multipage TIFF file Pin
Game-point30-Sep-09 19:32
Game-point30-Sep-09 19:32 
Generalplease help me!!! Pin
rowdy_vc++2-Mar-08 18:46
rowdy_vc++2-Mar-08 18:46 
GeneralRe: please help me!!! Pin
KASR12-Mar-08 19:10
KASR12-Mar-08 19:10 
GeneralRe: please help me!!! [modified] Pin
rowdy_vc++2-Mar-08 19:17
rowdy_vc++2-Mar-08 19:17 
GeneralRe: please help me!!! Pin
Rajesh R Subramanian2-Mar-08 21:26
professionalRajesh R Subramanian2-Mar-08 21:26 
GeneralMenu of ActiveX control Pin
includeh102-Mar-08 17:22
includeh102-Mar-08 17:22 
QuestionHow to convert CString to int in UNICODE app? Pin
TooShy2Talk2-Mar-08 16:50
TooShy2Talk2-Mar-08 16:50 
AnswerRe: How to convert CString to int in UNICODE app? Pin
Haroon Sarwar2-Mar-08 17:31
Haroon Sarwar2-Mar-08 17:31 

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.