Click here to Skip to main content
15,921,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to handle click event on icon.... Pin
Hans Dietrich18-Jul-07 7:50
mentorHans Dietrich18-Jul-07 7:50 
QuestionActive Movie Window appearing while using Video Mixing Renderer 9 in windowless mode Pin
djin9418-Jul-07 4:21
djin9418-Jul-07 4:21 
QuestionHandling Double-Click in the header-control of a CListCtrl Pin
GuyM18-Jul-07 4:08
GuyM18-Jul-07 4:08 
AnswerRe: Handling Double-Click in the header-control of a CListCtrl Pin
James R. Twine18-Jul-07 7:06
James R. Twine18-Jul-07 7:06 
QuestionProblem with internet file download Pin
sasi8318-Jul-07 3:28
sasi8318-Jul-07 3:28 
AnswerRe: Problem with internet file download Pin
LoveCPlusplus18-Jul-07 16:57
LoveCPlusplus18-Jul-07 16:57 
Questionerror in SendMessage Pin
neha.agarwal2718-Jul-07 2:32
neha.agarwal2718-Jul-07 2:32 
AnswerRe: error in SendMessage Pin
David Crow18-Jul-07 2:33
David Crow18-Jul-07 2:33 
GeneralRe: error in SendMessage Pin
neha.agarwal2718-Jul-07 18:00
neha.agarwal2718-Jul-07 18:00 
GeneralRe: error in SendMessage Pin
David Crow19-Jul-07 2:42
David Crow19-Jul-07 2:42 
GeneralRe: error in SendMessage Pin
Hamid_RT25-Jul-07 8:40
Hamid_RT25-Jul-07 8:40 
QuestionDifferent Output Pin
rajeevktripathi18-Jul-07 2:25
rajeevktripathi18-Jul-07 2:25 
AnswerRe: Different Output Pin
Mike Dimmick18-Jul-07 2:30
Mike Dimmick18-Jul-07 2:30 
GeneralRe: Different Output Pin
John R. Shaw18-Jul-07 3:40
John R. Shaw18-Jul-07 3:40 
GeneralRe: Different Output Pin
iddqd51518-Jul-07 5:53
iddqd51518-Jul-07 5:53 
GeneralRe: Different Output Pin
John R. Shaw18-Jul-07 6:19
John R. Shaw18-Jul-07 6:19 
GeneralRe: Different Output Pin
iddqd51518-Jul-07 6:26
iddqd51518-Jul-07 6:26 
GeneralRe: Different Output Pin
John R. Shaw18-Jul-07 6:41
John R. Shaw18-Jul-07 6:41 
QuestionRe: Different Output Pin
David Crow18-Jul-07 7:34
David Crow18-Jul-07 7:34 
AnswerRe: Different Output Pin
John R. Shaw18-Jul-07 7:53
John R. Shaw18-Jul-07 7:53 
For one, in the original question ‘j’ would have been equal to 3. Second if ‘i’ was a class instead of an ‘int’, then the overhead could be expensive in C++. But you already know that. Always prefer ‘++i’ to ‘i++’.

Just add support for ‘++’ (pre & post) to any class and you will see the problem, the compiler does not optimize that away.


INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

QuestionReverse Spin Pin
Anorexic Tribble18-Jul-07 1:58
Anorexic Tribble18-Jul-07 1:58 
AnswerRe: Reverse Spin Pin
John R. Shaw18-Jul-07 2:15
John R. Shaw18-Jul-07 2:15 
GeneralRe: Reverse Spin Pin
Anorexic Tribble18-Jul-07 2:34
Anorexic Tribble18-Jul-07 2:34 
GeneralRe: Reverse Spin Pin
John R. Shaw18-Jul-07 3:25
John R. Shaw18-Jul-07 3:25 
AnswerRe: Reverse Spin Pin
David Crow18-Jul-07 2:36
David Crow18-Jul-07 2:36 

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.