Lexical Conventions

This chapter introduces the fundamental elements of a C++ program. You use these elements, called “lexical elements” or “tokens” to construct statements, definitions, declarations, and so on, which are used to construct complete programs. The following lexical elements are discussed in this chapter:

This chapter also includes Table 1.1, which shows the precedence and associativity of C++ operators (from highest to lowest precedence). For a complete discussion of operators, see Chapter 4, Expressions.