in reply to Re: Pre vs Post Incrementing variables
in thread Pre vs Post Incrementing variables
Well... In the samples I gave above, the C++ IDE I used was MS Visual Studio 8 (or 2005, whatever it wants to call itself now) which gave 2 2 (or 3 3 3 in your sample) in the default Debug mode. So I guess virtually add it to the list there.
It is, however, useful to know this about the compilers. I know the C family compilers have their own idiosyncrasies, I guess I'll put this on the pile things to note.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Pre vs Post Incrementing variables
by cdarke (Prior) on Sep 13, 2010 at 08:18 UTC | |
by ikegami (Patriarch) on Sep 13, 2010 at 15:56 UTC |