Forgot your password?
Or sign in with one of these services
Started Monday at 11:22 PM
Started Monday at 08:05 PM
Started Monday at 02:45 AM
Started Sunday at 05:31 PM
Started Saturday at 09:14 PM
This topic is now archived and is closed to further replies.
, April 20, 2003 in General and Gameplay Programming
This topic is 5448 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++.
Create an account with GameDev.net and join the game development conversation on our forums, blogs, articles, and more!