< previous page page_509 next page >

Page 509
0509-01.gif
DigitSeq is the same as defined in the section on integer constantsa sequence of decimal (base-10) digits. The form of Exponent is the following:
0509-02.gif
Additional C++ Operators
C++ has a rich, sometimes bewildering, variety of operators that allow you to manipulate values of the simple data types. Operators you have learned about so far include the assignment operator (=), the arithmetic operators (+, -, *, /, %), the increment and decrement operators (++, --), the relational operators (==, !=, <, <=, >, >=), and the logical operators (!, &&, ||). Another operatorat least the compiler formally treats it as an operatoris the pair of symbols (). This is either the function call operator, as in
ComputeSum(x, y);
or the type cast operator, as in
y = float(someInt);
C++ also has operators that are more specialized and seldom found in other programming languages. Here is a table of these additional operators. As you inspect the table, don't panica quick scan will do.

 
< previous page page_509 next page >