Forgot your password?
Or sign in with one of these services
This topic is now archived and is closed to further replies.
quant, April 20, 2003 in General and Gameplay Programming
This topic is 5718 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.
If you intended to correct an error in the post then please contact us.
quote:Original post by spock In both cases it depends entirely on the type of i.
quote:Note that i++++; is not undefined
quote:Original post by SabreMan It''s undefined because it modifies a variable more than once without an intervening sequence point.
quote:Original post by SabreMan *i++ is valid syntax. The OP gave no context, so guessing at the semantics of his code is a waste of time.
quote:It''s undefined because it modifies a variable more than once without an intervening sequence point.
quote:Original post by spock Valid syntax is not enough for an expression to be valid, at least not in C++.
blesseddiscipleStarted Thursday at 02:48 AM
babaliarisStarted Wednesday at 07:56 PM
rrr333Started Wednesday at 06:32 PM
Gilles MeiresonneStarted Tuesday at 07:23 PM
lawnjellyStarted December 9
GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.