Greetings all. I have what may seem to be a simple question on C++ that I would really like to know the answer to. Years ago I was attending the Software Developers expo in San Francisco, specifically a lecture by Dan Saks (C++ guru). Mr. Saks made an interesting observation that I would like to know the "why" of. Basically he said that using the prefix operator was somehow more efficient than the postfix when incrementing or decrementing numeric variables. Can anyone explain why:
++X;
Is any more efficient/faster/better than:
X++;
??? I have always wondered about this....
Cheers
Jeff