Click here to Skip to main content
15,895,667 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: A Doubt Pin
Niklas L17-Jun-10 8:08
Niklas L17-Jun-10 8:08 
GeneralRe: A Doubt Pin
Chris Losinger17-Jun-10 9:18
professionalChris Losinger17-Jun-10 9:18 
GeneralRe: A Doubt Pin
Niklas L17-Jun-10 9:20
Niklas L17-Jun-10 9:20 
GeneralRe: A Doubt Pin
Chris Losinger17-Jun-10 9:23
professionalChris Losinger17-Jun-10 9:23 
GeneralRe: A Doubt Pin
Aescleal17-Jun-10 9:32
Aescleal17-Jun-10 9:32 
GeneralRe: A Doubt Pin
Niklas L17-Jun-10 9:47
Niklas L17-Jun-10 9:47 
AnswerRe: A Doubt Pin
Richard MacCutchan17-Jun-10 9:47
mveRichard MacCutchan17-Jun-10 9:47 
AnswerRe: A Doubt Pin
Stephen Hewitt17-Jun-10 15:06
Stephen Hewitt17-Jun-10 15:06 
It's pretty subtle. Here's a breakdown of what's hapenning:

  1. ++i increments i (so i=3) and returns a reference to i.
  2. The second ++i increments i (so i=4) and returns a reference to i.
  3. The + is called with the two references. Both are dereferenced and added (4+4).

Steve

QuestionRe: A Doubt Pin
JobinG20-Jun-10 19:08
JobinG20-Jun-10 19:08 
AnswerRe: A Doubt Pin
Stephen Hewitt21-Jun-10 15:00
Stephen Hewitt21-Jun-10 15:00 
AnswerRe: A Doubt Pin
Tim Craig17-Jun-10 17:54
Tim Craig17-Jun-10 17:54 
QuestionCAsyncSocket server questions Pin
MikeRWinter17-Jun-10 7:56
MikeRWinter17-Jun-10 7:56 
AnswerRe: CAsyncSocket server questions Pin
Moak17-Jun-10 10:17
Moak17-Jun-10 10:17 
QuestionCTabCtrl problem Pin
Spawn@Melmac17-Jun-10 7:54
Spawn@Melmac17-Jun-10 7:54 
AnswerRe: CTabCtrl problem Pin
Niklas L17-Jun-10 8:13
Niklas L17-Jun-10 8:13 
GeneralRe: CTabCtrl problem Pin
Spawn@Melmac17-Jun-10 8:54
Spawn@Melmac17-Jun-10 8:54 
Questionhow to convert vector of doubles to a variant type Pin
b-rad31117-Jun-10 4:55
b-rad31117-Jun-10 4:55 
AnswerRe: how to convert vector of doubles to a variant type Pin
Code-o-mat17-Jun-10 6:05
Code-o-mat17-Jun-10 6:05 
GeneralRe: how to convert vector of doubles to a variant type Pin
b-rad31117-Jun-10 6:06
b-rad31117-Jun-10 6:06 
QuestionCustom Radio button Pin
AbhiHcl17-Jun-10 3:26
AbhiHcl17-Jun-10 3:26 
AnswerRe: Custom Radio button Pin
Code-o-mat17-Jun-10 4:32
Code-o-mat17-Jun-10 4:32 
GeneralRe: Custom Radio button Pin
AbhiHcl17-Jun-10 19:39
AbhiHcl17-Jun-10 19:39 
GeneralRe: Custom Radio button Pin
Code-o-mat17-Jun-10 21:45
Code-o-mat17-Jun-10 21:45 
GeneralRe: Custom Radio button Pin
AbhiHcl18-Jun-10 3:17
AbhiHcl18-Jun-10 3:17 
GeneralRe: Custom Radio button Pin
Code-o-mat18-Jun-10 3:24
Code-o-mat18-Jun-10 3:24 

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.