Why do we have x++ when in some cases it doesn't even work. Why can't we have just ++x. When do I use ++x and when do I use x++?
P.S:This is for c++ not c.
Printable View
Why do we have x++ when in some cases it doesn't even work. Why can't we have just ++x. When do I use ++x and when do I use x++?
P.S:This is for c++ not c.
What is the difference between x++ and ++x?
Right. I see that you have started a new thread in the C++ programming forum, so I shall close this one.Quote:
Originally Posted by etricity