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

C / C++ / MFC

 
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 
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 
To answer your original question, there is no difference at all. The compiler will optimize away the copy of i that normally gets made in the expression i++, because it sees that the copy isn't being used.

--Mike--
Eh! Steve!
Homepage | RightClick-Encrypt | 1ClickPicGrabber
"You have Erica on the brain" - Jon Sagara to me

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 
GeneralRe: question about socket Pin
valikac10-May-03 5:53
valikac10-May-03 5:53 
GeneralCan you tell me what does the getnameinfo() return? Pin
wood10-May-03 22:03
wood10-May-03 22:03 
GeneralCreate edit control inside thread Pin
Nena19769-May-03 17:01
Nena19769-May-03 17:01 

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.