|
|
 |
|
|
|
|
& (ampersand). See Ampersand (&) |
|
|
|
 |
|
|
|
|
< > (angle brackets), 77, 546 |
|
|
|
 |
|
|
|
|
' (apostrophe) |
|
|
|
 |
|
|
|
|
for char constants, 55, 59-60, 520-521 |
|
|
|
 |
|
|
|
|
escape sequence for, 521 |
|
|
|
 |
|
|
|
|
in input data, 136 |
|
|
|
 |
|
|
|
|
* (asterisk). See Asterisk (*) |
|
|
|
 |
|
|
|
|
@ (at sign), 355 |
|
|
|
 |
|
|
|
|
\ (backslash) |
|
|
|
 |
|
|
|
|
for escape sequences, 520-521 |
|
|
|
 |
|
|
|
|
in output statements, 69-70 |
|
|
|
 |
|
|
|
|
{ } (braces). See Braces ({ }) |
|
|
|
 |
|
|
|
|
[] (brackets), 595-597, 709, 821-822 |
|
|
|
 |
|
|
|
|
^ (caret), 510 |
|
|
|
 |
|
|
|
|
: (colon). See Colon (:) |
|
|
|
 |
|
|
|
|
, (comma). See Comma (,) |
|
|
|
 |
|
|
|
|
" (double quotation mark) |
|
|
|
 |
|
|
|
|
escape sequence for, 521 |
|
|
|
 |
|
|
|
|
for header files, 546 |
|
|
|
 |
|
|
|
|
for string constants, 59-60, 69, 108, 668-669 |
|
|
|
 |
|
|
|
|
= (equal sign). See Equal sign (=) |
|
|
|
 |
|
|
|
|
! (exclamation point) |
|
|
|
 |
|
|
|
|
in assertion comments, 355 |
|
|
|
 |
|
|
|
|
as logical operator, 193-196 |
|
|
|
 |
|
|
|
|
precedence of, 197, 516, A1 |
|
|
|
 |
|
|
|
|
in relational operators, 191 |
|
|
|
 |
|
|
|
|
> (greater-than symbol). See Greater-than symbol (>) |
|
|
|
 |
|
|
|
|
< (less-than symbol). See Less-than symbol (<) |
|
|
|
 |
|
|
|
|
- (minus sign). See Minus sign (-) |
|
|
|
 |
|
|
|
|
() (parentheses). See Parentheses ( ) |
|
|
|
 |
|
|
|
|
% (percent sign) |
|
|
|
 |
|
|
|
|
for number conversion, 1144-1146 |
|
|
|
 |
|
|
|
|
precedence of, 94-95, 197, 516,A1 |
|
|
|
 |
|
|
|
|
for remainder operator, 65-66 |
|
|
|
 |
|
|
|
|
. (period) |
|
|
|
 |
|
|
|
|
for class member selection, 847, 849 |
|
|
|
 |
|
|
|
|
in dot notation, 140 |
|
|
|
 |
|
|
|
|
for record (struct) member selection, 774-775, 821-822 |
|
|
|
 |
|
|
|
|
in syntax templates, 48 |
|
|
|
 |
|
|
|
|
+ (plus sign) |
|
|
|
 |
|
|
|
|
for addition, 65-66 |
|
|
|
 |
|
|
|
|
in assignment operators, 510, 512 |
|
|
|
 |
|
|
|
|
in increment operator, 67-68 |
|
|
|
 |
|
|
|
|
precedence of, 94-95, 197, 516, A1 |
|
|
|
 |
|
|
|
|
# (pound sign), 76, 862 |
|
|
|
 |
|
|
|
|
? (question mark), 515-516 |
|
|
|
 |
|
|
|
|
; (semicolon). See Semicolon (;) |
|
|
|
 |
|
|
|
|
/ (slash) |
|
|
|
 |
|
|
|
|
in assignment operators, 510 |
|
|
|
 |
|
|
|
|
in comments, 29, 70-71 |
|
|
|
 |
|
|
|
|
for division, 65-66 |
|
|
|
 |
|
|
|
|
precedence of, 94-95, 197, 516,A1 |
|
|
|
 |
|
|
|
|
~ (tilde) |
|
|
|
 |
|
|
|
|
for bitwise operations, 510 |
|
|
|
 |
|
|
|
|
for destructors, 868, 994 |
|
|
|
 |
|
|
|
|
_ (underscore), 49-51, 62,A13 |
|
|
|
 |
|
|
|
|
| (vertical bar) |
|
|
|
 |
|
|
|
|
in assertion comments, 355 |
|
|
|
 |
|
|
|
|
for bit manipulation, 196, 510, 513 |
|
|
|
 |
|
|
|
|
in logical operators, 193-196 |
|
|
|
 |
|
|
|
|
precedence of, 197, 516, A1-A2 |
|
|
|
 |
|
|
|
|
\a escape sequence, 521 |
|
|
|
 |
|
|
|
|
A_Month function (BirthdayReminder), 575 |
|
|
|
 |
|
|
|
|
abs function, 103, A8 |
|
|
|
 |
|
|
|
|
Absentee program, 748-757, 790-793 |
|
|
|
 |
|
|
|
|
Absenteeism case study, 741-757 |
|
|
|
 |
|
|
|
|
Absolute values |
|
|
|
 |
|
|
|
|
conditional statements for, 516 |
|
|
|
 |
|
|
|
|
for floating point number comparisons, 201 |
|
|
|
 |
|
|
|
|
functions for, A7-A9 |
|
|
|
 |
|
|
|
|
Abstract assertions, 1062 |
|
|
|
 |
|
|
|
|
Abstract data types (ADTs), 649, 838-839. |
|
|
|
 |
|
|
|
|
See also Classes |
|
|
|
 |
|
|
|
|
implementation files for, 839, 854-858 |
|
|
|
 |
|
|
|
|
operations for, 841 |
|
|
|
 |
|
|
|
|
specification files for, 839-840, 852-854 |
|
|
|
 |
|
|
|
|
Abstract steps, 154 |
|
|
|
 |
|
|
|
|
Abstraction |
|
|
|
 |
|
|
|
|
control, 424-425 |
|
|
|
 |
|
|
|
|
data, 789, 920 |
|
|
|
 |
|
|
|
|
in software design, 838 |
|
|
|
 |
|
|
|
|
Abstraction barriers, 850-852 |
|
|
|
 |
|
|
|
|
Access |
|
|
|
 |
|
|
|
|
to array components, 596-599, 604-607, 709-710, 713, 727 |
|
|
|
 |
|
|
|
|
to class members, 844-847, 849-850, 914 |
|
|
|
 |
|
|
|
|
to identifiers. |
|
|
|
 |
|
|
|
|
See Scope |
|
|
|
 |
|
|
|
|
with inheritance, 914 |
|
|
|
 |
|
|
|
|
to standard library functions, 404 |
|
|
|
 |
|
|
|
|
to structure members, 774-775, 784 |
|
|
|
 |
|
|
|
|
syntax template for, A20 |
|
|
|
 |
|
|
|
|
acos function, A6 |
|
|
|
|
|