Click here to Skip to main content
15,887,945 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Socket Error Pin
Mazdak10-May-03 7:47
Mazdak10-May-03 7:47 
GeneralRe: Socket Error Pin
Anders Molin10-May-03 5:43
professionalAnders Molin10-May-03 5:43 
GeneralRe: Socket Error Pin
Mazdak10-May-03 7:48
Mazdak10-May-03 7:48 
GeneralRe: Socket Error Pin
Anders Molin10-May-03 9:18
professionalAnders Molin10-May-03 9:18 
GeneralRe: Socket Error Pin
Mazdak10-May-03 18:05
Mazdak10-May-03 18:05 
QuestionIs ++i statement in the for loop better than i++? Pin
Link260010-May-03 0:56
Link260010-May-03 0:56 
AnswerRe: Is ++i statement in the for loop better than i++? Pin
Tim Smith10-May-03 1:40
Tim Smith10-May-03 1:40 
GeneralRe: Is ++i statement in the for loop better than i++? Pin
Link260010-May-03 12:04
Link260010-May-03 12:04 
[quote]It all boils down to this: Unless you have a specific need to use post increment, you should use pre increment. It won't buy you anything most of the time, but once you get in the habit of using it, you don't have to worry about the cases where it does buy you something.[/quote]

Does the above statement applies to all application? or just
when you are using for loop? How about in while loop and all
other situation?

In what situation do we have to use post increment(i++)?

Thanks.
GeneralRe: Is ++i statement in the for loop better than i++? Pin
Joe Woodbury11-May-03 6:18
professionalJoe Woodbury11-May-03 6:18 
AnswerRe: Is ++i statement in the for loop better than i++? Pin
valikac10-May-03 5:43
valikac10-May-03 5:43 
AnswerRe: Is ++i statement in the for loop better than i++? Pin
Michael Dunn10-May-03 7:09
sitebuilderMichael Dunn10-May-03 7:09 
GeneralRe: Is ++i statement in the for loop better than i++? Pin
S van Leent10-May-03 11:14
S van Leent10-May-03 11:14 
GeneralRe: Is ++i statement in the for loop better than i++? Pin
Joe Woodbury10-May-03 11:47
professionalJoe Woodbury10-May-03 11:47 
GeneralDLLs Pin
Dominik Reichl9-May-03 22:23
Dominik Reichl9-May-03 22:23 
GeneralRe: DLLs Pin
Rickard Andersson2010-May-03 3:26
Rickard Andersson2010-May-03 3:26 
GeneralGDI+ Pin
sharlila9-May-03 21:43
sharlila9-May-03 21:43 
Generalit don't draw Pin
aguest9-May-03 19:53
aguest9-May-03 19:53 
GeneralRe: it don't draw Pin
Bartosz Bien9-May-03 21:48
Bartosz Bien9-May-03 21:48 
GeneralRe: it don't draw Pin
aguest10-May-03 6:01
aguest10-May-03 6:01 
GeneralRe: it don't draw Pin
Bartosz Bien10-May-03 14:20
Bartosz Bien10-May-03 14:20 
GeneralNeed a simple "console-style" output window in MFC Pin
Jan759-May-03 19:33
Jan759-May-03 19:33 
GeneralRe: Need a simple "console-style" output window in MFC Pin
S van Leent10-May-03 11:20
S van Leent10-May-03 11:20 
Generalquestion about socket Pin
wood9-May-03 18:15
wood9-May-03 18:15 
GeneralRe: question about socket Pin
Ernest Laurentin9-May-03 19:16
Ernest Laurentin9-May-03 19:16 
GeneralWhat does the getpeename return? Pin
wood10-May-03 21:47
wood10-May-03 21:47 

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.