forever loops, 201-204
guidelines, 204
indenting, 780
syntax, 198-200
symbolic constants, 59-60,
64
systems analysis, 347-348
T
\t escape code, 30, 58
tables, v-tables, 396
tabs, 30, 58, 96
tail nodes (linked lists), 885
target addresses
assigning, 259-260
returning, 257-258
temperatures,
Fahrenheit/Celsius
conversions, 106
template keyword, 662
templates, 659-661
compared to inheritance,
712
compared to macros, 771
compiler support, 665
defining, 661-664
exceptions, 742-745
friends
general, 674, 678
general template
friends, 674-678
nontemplate, 670-674
functions, 669-670,
683-688
implementing, 665-669
instantiating, 661
naming, 664
parameterized, 661
passing template objects,
678-682
static data members,
689-692
STL (Standard Template
Library), 693
algorithms, 708-711
deque containers, 703
list containers, 701-702
map containers,
704-707
multimap containers,
708
multiset containers,
708
queues, 703
set containers, 708
stacks, 702-703
vector containers,
694-700
template-based linked
lists, 791-803
temporary objects
nameless, 307-309
returning, 306-307
ternary operator (?:), 94-95
testing
Hello World program,
19-20
strings, 753-754
text editors, 14
built-in editors, 22
compared to word
processors, 21
text files, 629-631
text strings, 28
this pointer, 243-245, 251,
309-310
throwing exceptions,
722-728
tilde (~), 154, 774
timelines (design projects),
348
trailing zeros, displaying,
617
transformations, 352-353
transforming CRC cards to
UML, 357
trees, 875
troubleshooting. See also
debugging
bugs, 716
code rot, 746
compile-time errors, 162
compilers, 20
exceptions, 717-718
advantages, 748
catching, 728-732
class hierarchies,
732-735
disadvantages, 749
hierarchies, 733
multiple, 729-732
programming tips,
745-746
sample program,
717-718
templates, 742-745
throwing, 722-728
try...catch blocks,
719-722
logic errors, 159-162
true/false operations,
93-94
try blocks, 719-722
two-dimensional arrays,
418-420
type definition, 52-53
typedef statement, 52-53,
525-528
types. Seedata types
typing, strong, 159
U
UML (Unified Modeling
Language), 330-331, 357
uninitialized array
elements, 445
uninitialized buffers,
433-434
uninitialized character
arrays, 433
unnamed namespaces,
652-653, 656
unsigned int data type, 46
unsigned integers, 45-46,
54-55
unsigned long int data type,
46
unsigned short int data
type, 46
unsigned short int data type 909
How can we make this index more useful? Email us at [email protected]
34 0672327112 index.qxd 11/19/04 12:31 PM Page 909