Well forgive me if I'm wrong magos, but doesn't ++X get incremented before the statement it's in, where X++ does the statement first and then increments the variable?
Otherwise there'd be no diference between X++ and ++X.
Well forgive me if I'm wrong magos, but doesn't ++X get incremented before the statement it's in, where X++ does the statement first and then increments the variable?
Otherwise there'd be no diference between X++ and ++X.
Yes, they do.but doesn't ++X get incremented before the statement it's in, where X++ does the statement first and then increments the variable?
Look, I have no intention to talk bad about pre/post inc/dec variables. It's just that IMO they make code less readable, but thats my opinion...
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.