Theraze, you Don't Get It. You did not write a function which behaves like x++ (or even ++x, although it was closer to that). You wrote a function which behaves like (x + 1). Go back and reread everything I said. Attempt to understand - and learn - and come back when you understand why your "plusplus" function is not the equivalent of a ++ operator. Until then, I've done all the teaching I care to do on this subject and have nothing further to say.