assigning
addresses to references,
259-260
values to variables, 50-52,
143
variables to user-defined
classes, 320-321
assignment operator (=), 50,
71, 317-320
combining with math
operators, 73-74
association (domain
models), 343
asterisk (*), 226, 280
at( ) function, 700
B
\b escape code, 58
back( ) function, 700
backslash (\), 59
backspaces, 58
base 2 numbers, 810-812
base 7 numbers, 809
base 8 numbers, 808-809
base 10 numbers, 808
converting to base 2,
813-814
converting to base 6, 810
converting to base 7,
809-810
converting to binary,
810-811
base 16 numbers,
813-816
base classes, 372
inheritance, 464-468
methods
calling, 389-390
constructors, 378,
381-385
destructors, 378
hiding, 387-389
overriding, 386-387
begin( ) function, 702
binary files, 629-631
binary numbers, 810-812
binding, dynamic, 395
bits, 773, 812
clearing, 774-775
fields, 775-778
flipping, 775
setting, 774
bitwise operators,
773-774
blocks, 68-69
catch, 719, 729-732
try, 719-722
body of functions, 36
bool data type, 46, 79
braces ({ }), 27, 68
aligning, 779
nested if statements, 88-89
brackets ([ ]), 429
branching
programs, 132-133
relational operators, 81-82
break statement, 180-183
breaking while loops, 180
breakpoints, 747
budgets (design projects),
348
buffers, 594-596
copying strings to,
435-436
flushing, 596
implementing, 597
uninitialized, 433-434
bugs, 716.See also
troubleshooting
debugging, 746-747
assemblers, 747
assert( ) macro,
762-764
breakpoints, 747
examining memory,
747
inclusion guards,
755-756
printing interim
values, 769-771
watch points, 747
fence post errors, 413
stray pointers, 247
built-in functions, 100
built-in text editors, 22
bulletproof programs, 716
bytes, 812
C
.c filename extension, 14
C language, 11-12, 33
calling
functions, 35-36, 129, 133
base methods, 389-390
constructors, 460-463
recursion, 124-125,
128
static methods,
511-513
pointers to methods, 528
cannot find file error
messages, 17
capabilities classes, 473
capacity( ) function, 695
capitalization, 782
cards (CRC)
anthropomorphic,
355-356
CRC sessions, 354-355
limitations of, 356-357
responsibilities, 355
transforming to UML, 357
caret (^), 774
carriage return escape
character (\r), 58
case-sensitivity, 48
case values (switch
statements), 199
casting down, 453-455, 487
Cat class
accessor functions, 159
Cat object, initializing,
156-157
data members, 145-146
declaring, 141, 164-165
implementing, 165
Cat class 889
How can we make this index more useful? Email us at [email protected]
34 0672327112 index.qxd 11/19/04 12:31 PM Page 889