< Previous | Contents | Next >
Using Arithmetic Operators
Whether you’re tallying up the number of enemies killed or decreasing a player’s health level, you need your programs to do some math. As with other languages, Cþþ has built-in arithmetic operators.