This preview shows page 1. Sign up to view the full content.
Unformatted text preview: execution begins. Programming is essentially the manipulation of variables, of which there are several varieties. Integers, characters, and floating point numbers form the crux of C++'s primitive data types. Each type has a different range of values it can assume. Most character values can be written as keyboard characters between single quotation marks; however, some symbols require special escape sequences to represent the character, such as the tab character '\\t'. Variables should be declared const if they hold a value that will not change for the duration of the program. You can create your own kind of data type with the enum command, which allows you to specify the name of your data type and the values it can take on....
View Full Document
- Spring '08