I can't explain why, but for some reason, when a value is given for "userint", it outputs the same value on the screen, instead of the incremental value. This is not what I intended.
If anyone has an idea or solution, your thoughts would be most certainly appreciated!
Thanks for your support!
Tech2011

P.S Follow me on Google Plus. I'm Steven Styffe.

09-14-2011

manasij7479

userint++gets evaluated after the expression does.

09-14-2011

AndrewHunter

If only those Postfix increment operators had a meaningful name.....

09-15-2011

iMalc

Yeah you probably want the prefix version, not the postfix one. (Put the ++ in front of the variable)