Click here to Skip to main content
15,845,681 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Questionpostfix increment c++ question Pin
swjam21-Dec-06 17:38
swjam21-Dec-06 17:38 
AnswerRe: postfix increment c++ question Pin
bsaksida21-Dec-06 23:10
bsaksida21-Dec-06 23:10 
QuestionRe: postfix increment c++ question Pin
prasad_som22-Dec-06 0:29
prasad_som22-Dec-06 0:29 
AnswerRe: postfix increment c++ question Pin
bsaksida22-Dec-06 1:26
bsaksida22-Dec-06 1:26 
AnswerRe: postfix increment c++ question Pin
prasad_som22-Dec-06 1:39
prasad_som22-Dec-06 1:39 
AnswerRe: postfix increment c++ question Pin
prasad_som21-Dec-06 23:26
prasad_som21-Dec-06 23:26 
AnswerRe: postfix increment c++ question Pin
John R. Shaw22-Dec-06 0:07
John R. Shaw22-Dec-06 0:07 
AnswerRe: postfix increment c++ question Pin
Christian Graus22-Dec-06 13:54
protectorChristian Graus22-Dec-06 13:54 
The postfix operator returns the value before the operation, if i == 20, i++ returns 20, ++i return 21.

x=y++ + x++;
y= ++y + ++x;

This sort of code is an interesting exercise, but you should never write code that looks like this, in the real world.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

QuestionDifference in settings on laptop and destop, VC++.net 2003 Pin
minad_78621-Dec-06 3:34
minad_78621-Dec-06 3:34 
AnswerRe: Difference in settings on laptop and destop, VC++.net 2003 Pin
led mike21-Dec-06 5:54
led mike21-Dec-06 5:54 
Questioncan anybody tell me where ....? Pin
Banks K21-Dec-06 2:35
Banks K21-Dec-06 2:35 
AnswerRe: can anybody tell me where ....? Pin
led mike21-Dec-06 5:46
led mike21-Dec-06 5:46 
QuestionValue classes and structs Pin
kristmun20-Dec-06 22:47
kristmun20-Dec-06 22:47 
AnswerRe: Value classes and structs Pin
led mike21-Dec-06 5:50
led mike21-Dec-06 5:50 
QuestionConverting a IntPtr to HWND ? Pin
Fritzables20-Dec-06 18:08
Fritzables20-Dec-06 18:08 
AnswerRe: Converting a IntPtr to HWND ? Pin
User 58385220-Dec-06 19:38
User 58385220-Dec-06 19:38 
GeneralRe: Converting a IntPtr to HWND ? Pin
Fritzables21-Dec-06 11:41
Fritzables21-Dec-06 11:41 
QuestionPassing Reference to Thread Delegate Pin
ricecake20-Dec-06 9:54
ricecake20-Dec-06 9:54 
QuestionDispatching based on Names Pin
ComplexLifeForm19-Dec-06 22:33
ComplexLifeForm19-Dec-06 22:33 
AnswerRe: Dispatching based on Names Pin
bsaksida19-Dec-06 23:16
bsaksida19-Dec-06 23:16 
GeneralRe: Dispatching based on Names Pin
ComplexLifeForm20-Dec-06 1:15
ComplexLifeForm20-Dec-06 1:15 
AnswerRe: Dispatching based on Names Pin
led mike20-Dec-06 5:46
led mike20-Dec-06 5:46 
QuestionReading & Writing Config Files Pin
mactick19-Dec-06 21:36
mactick19-Dec-06 21:36 
AnswerRe: Reading & Writing Config Files Pin
bsaksida19-Dec-06 23:21
bsaksida19-Dec-06 23:21 
QuestionRe: Reading & Writing Config Files Pin
mactick20-Dec-06 0:22
mactick20-Dec-06 0:22 

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.