Skip to content

Glossary: C++ Basics

Increment and decrement

Also written: ++, --

`++` adds 1 to a variable and `--` takes 1 away, as in `cups++;`.

Where the book teaches it

Related terms

Compound assignment