I'd rather writeOriginally Posted by Dae
it makes more sense, and looks awesomeCode:a = c++ + 1;
I'd rather writeOriginally Posted by Dae
it makes more sense, and looks awesomeCode:a = c++ + 1;
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu
You got me.Originally Posted by Daved
C++ = similar to C = C + 1 which also the same as C+=
hope this is helpful
i have allready spoken that!Originally Posted by gtr_s15
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu
Oh, yeah. I was just testing in the context of the OP's code (I couldnt tell if it had an array), and didn't expect it to be very legal or good to do, haha. Alright, I'll try that, thanks. Good explanation about the precedence btw.Originally Posted by Daved
Thats not very confusing... maybe if you didn't have the brackets it would.Code:and just to make this thread even more confusing (*x)++ will incremenet the value pointer to by x rather than x pointer itself.
Warning: Have doubt in anything I post.
GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101