* (indirection) operator,
226, 280
<< (insertion) operator,
585-589
< (less than) operator, 28, 80
<= (less than or equal to)
operator, 80
&& (logical AND)
operator, 91
! (logical NOT) operator, 92
|| (logical OR) operator, 91
% (modulus) operator, 73
!= (not equal) operator, 80
= 0 notation, 478
0 (null character), 600
( ) (parentheses), 96
macro syntax, 757-759
nesting, 78
-> (points-to) operator,
240-241
# (pound symbol), 26
++ (prefix) operator
compared to postfix
operator, 311-313
overloading, 304-306
“ (quotation marks), 759
< (redirect input)
operator, 598
<< (redirection) operator,
17, 28
& (reference) operator, 256,
280-281
:: (scope resolution) opera-
tor, 640
+= (self-assigned
addition) operator, 74
; (semicolon), 68, 83
- (subtraction) operator,
71-72
~ (tilde), 154, 774
A
\a escape code, 58
abstract classes, 486
abstract data types (ADTs),
476-477
advantages, 488
declaring, 478
deriving from other ADTs,
482-486
example, 477-478
pure virtual functions, 477
abstraction in
programming, 129
access control keywords,
150
access labels, 783
accessing
arrays, 415
contained classes, 545
data members, 143-146
on the free store,
239-241
nonstatic methods,
510-511
private members, 144,
147
public members,
145-146
static member data,
508-509, 513, 692
derived objects,
377-378
memory addresses,
229-231
accessor methods,
147-148
actors (use cases), 337
Add( ) function, 38,
313-314
Symbols
+ (addition) operator,
314-316
& (address of) operator,
222-223, 257-258
= (assignment) operator, 50,
71, 317-320
& (bitwise AND)
operator, 773
| (bitwise OR) operator, 774
{ } (braces), 27, 68
aligning, 779
nested if statements,
88-89
/* comment notation, 33
// comment notation, 33
?: (conditional) operator,
94-95
[] (brackets), 429
. (dot) operator, 150, 239
== (equal) operator,
79-80
\’ escape code, 58
\” escape code, 59
\? escape code, 59
\ escape code, 59
\000 escape code, 59
- (decrement) operator,
74-76
^ (exclusive OR)
operator, 774
(extraction) operator,
599, 603-604
(greater than) operator,
80
= (greater than or equal
to) operator, 80
++ (increment) operator,
74-76
Index
34 0672327112 index.qxd 11/19/04 12:31 PM Page 887