Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

++

2 replies · 1,952 views · Started 17 October 2007

I've been using this command, but I'm not exactly sure what it does.
What I assumed it to be is, say:

x = x+1;

where x is an integer. Is this correct?

Yes. ++ means add one. That is where C++ got its name. The maker of it thought he just added one thing to C, so he called it C++. You can also use -- to subtract one (I think).