|
|
 |
|
|
|
|
for two-dimensional arrays, 709-710 |
|
|
|
 |
|
|
|
|
for typedf statements, 189, 535 |
|
|
|
 |
|
|
|
|
for variable declarations, 58 |
|
|
|
 |
|
|
|
|
for while statements, 254 |
|
|
|
 |
|
|
|
|
system function, A9 |
|
|
|
 |
|
|
|
|
System programs, 611 |
|
|
|
 |
|
|
|
|
System software, 19, 505 |
|
|
|
 |
|
|
|
|
\t escape sequence, 521 |
|
|
|
 |
|
|
|
|
Tables, 708-712 |
|
|
|
 |
|
|
|
|
in absenteeism case study, 741-757 |
|
|
|
 |
|
|
|
|
accessing components in, 709-710, 713 |
|
|
|
 |
|
|
|
|
as arrays of arrays, 723-724 |
|
|
|
 |
|
|
|
|
in election case study, 728-740 |
|
|
|
 |
|
|
|
|
initializing, 717-718, 722 |
|
|
|
 |
|
|
|
|
as parameters, 720-722 |
|
|
|
 |
|
|
|
|
printing, 718-719 |
|
|
|
 |
|
|
|
|
processing, 712-720 |
|
|
|
 |
|
|
|
|
summing columns in, 716-717 |
|
|
|
 |
|
|
|
|
summing rows in, 714-716 |
|
|
|
 |
|
|
|
|
Tab, escape sequence for, 521 |
|
|
|
 |
|
|
|
|
Tail recursion, 1133-1134 |
|
|
|
 |
|
|
|
|
tan function, A7 |
|
|
|
 |
|
|
|
|
tanh function, A7 |
|
|
|
 |
|
|
|
|
Tape drives, 16-17 |
|
|
|
 |
|
|
|
|
tclist.cpp file, 948-951 |
|
|
|
 |
|
|
|
|
tclist.h file, 945-947 |
|
|
|
 |
|
|
|
|
Team leaders, 153 |
|
|
|
 |
|
|
|
|
Team programming, 174 |
|
|
|
 |
|
|
|
|
global variables in, 448 |
|
|
|
 |
|
|
|
|
interfaces and encapsulation in, 353 |
|
|
|
 |
|
|
|
|
stubs and drivers for, 448 |
|
|
|
 |
|
|
|
|
Telephone numbers, representing, 796 |
|
|
|
 |
|
|
|
|
Temperatures case study, 292-297 |
|
|
|
 |
|
|
|
|
Templates, syntax. See Syntax templates |
|
|
|
 |
|
|
|
|
Temporary variables in exchange sorts, 654-655 |
|
|
|
 |
|
|
|
|
TempStat program, 296-297 |
|
|
|
 |
|
|
|
|
Terminal symbols, 46 |
|
|
|
 |
|
|
|
|
Termination conditions for loops, 256-257 |
|
|
|
 |
|
|
|
|
Ternary operators, 515 |
|
|
|
 |
|
|
|
|
Test score averages case study, 169-173 |
|
|
|
 |
|
|
|
|
TestAverage program, 171-173 |
|
|
|
 |
|
|
|
|
Testing |
|
|
|
 |
|
|
|
|
Absentee program, 756-757 |
|
|
|
 |
|
|
|
|
algorithm walk-through in, 230-234 |
|
|
|
 |
|
|
|
|
Area program, 558 |
|
|
|
 |
|
|
|
|
assertions in control structures, 187-188 |
|
|
|
 |
|
|
|
|
automatic, 239-240 |
|
|
|
 |
|
|
|
|
BirthdayCalls program, 889 |
|
|
|
 |
|
|
|
|
BirthdayReminder program, 576 |
|
|
|
 |
|
|
|
|
CategoryCount program, 485 |
|
|
|
 |
|
|
|
|
CharCount program, 628 |
|
|
|
 |
|
|
|
|
CheckLists program, 618-619 |
|
|
|
 |
|
|
|
|
classes, 889-894 |
|
|
|
 |
|
|
|
|
conditional expressions, 241-242 |
|
|
|
 |
|
|
|
|
control structures, 237-239 |
|
|
|
 |
|
|
|
|
CountAll program, 635 |
|
|
|
 |
|
|
|
|
datatypes, 576-577, 582 |
|
|
|
 |
|
|
|
|
DateType class, 874-877 |
|
|
|
 |
|
|
|
|
DynArray class, 1023-1026 |
|
|
|
 |
|
|
|
|
Election program, 740 |
|
|
|
 |
|
|
|
|
Exam program, 696-698 |
|
|
|
 |
|
|
|
|
Friends program, 808-809 |
|
|
|
 |
|
|
|
|
functions, 369-374 |
|
|
|
 |
|
|
|
|
Game program, 567-569 |
|
|
|
 |
|
|
|
|
Graph program, 369, 433 |
|
|
|
 |
|
|
|
|
in implementation programming phase, 234-239 |
|
|
|
 |
|
|
|
|
Incomes program, 292 |
|
|
|
 |
|
|
|
|
input, 173-176, 577-581 |
|
|
|
 |
|
|
|
|
Invoice program, 305 |
|
|
|
 |
|
|
|
|
linked lists, 1062, 1109-1111 |
|
|
|
 |
|
|
|
|
loops, 305-313, 492-494 |
|
|
|
 |
|
|
|
|
MergeLists program, 820-821 |
|
|
|
 |
|
|
|
|
Minimum function, 1148 |
|
|
|
 |
|
|
|
|
modular design, 445-449 |
|
|
|
 |
|
|
|
|
multidimensional arrays, 757-759 |
|
|
|
 |
|
|
|
|
object-oriented programming, 956-958 |
|
|
|
 |
|
|
|
|
one-dimensional arrays, 635-637 |
|
|
|
 |
|
|
|
|
output, 173-176 |
|
|
|
 |
|
|
|
|
pointers, 1030-1033 |
|
|
|
 |
|
|
|
|
preconditions and postconditions in, 231-234 |
|
|
|
 |
|
|
|
|
programs, 6-7, 175 |
|
|
|
 |
|
|
|
|
PunchIn program, 955-956 |
|
|
|
 |
|
|
|
|
Rainfall program, 491-492 |
|
|
|
 |
|
|
|
|
RecordList class, 1014-1015 |
|
|
|
 |
|
|
|
|
records (structs), 821-824 |
|
|
|
 |
|
|
|
|
recursion, 1149 |
|
|
|
 |
|
|
|
|
searches, 698-699 |
|
|
|
 |
|
|
|
|
Solitaire program, 1109 |
|
|
|
 |
|
|
|
|
SortWithPointers program, 1017-1018 |
|
|
|
 |
|
|
|
|
Starship program, 445 |
|
|
|
 |
|
|
|
|
stream states, 213-215 |
|
|
|
 |
|
|
|
|
strings, 699-700 |
|
|
|
 |
|
|
|
|
TempStat program, 304-305 |
|
|
|
 |
|
|
|
|
Time class, 941 |
|
|
|
 |
|
|
|
|
TimeCard class, 944 |
|
|
|
 |
|
|
|
|
TimeCardList class, 951 |
|
|
|
 |
|
|
|
|
TimeType class, 890-894 |
|
|
|
 |
|
|
|
|
Transpose program, 423 |
|
|
|
 |
|
|
|
|
Tests in compilation and execution stages, 239-240 |
|
|
|
 |
|
|
|
|
TestTowers program, 1130-1132 |
|
|
|
 |
|
|
|
|
then-clause. See if statements Thermostat state diagram, 269 |
|
|
|
 |
|
|
|
|
Thunks, 352 |
|
|
|
 |
|
|
|
|
Tilde (~) |
|
|
|
 |
|
|
|
|
for bitwise operations, 510 |
|
|
|
 |
|
|
|
|
for destructors, 868, 994 |
|
|
|
 |
|
|
|
|
Time card lookup case study, 935-956 |
|
|
|
 |
|
|
|
|
Time class, 911-912 |
|
|
|
 |
|
|
|
|
constructors for, 939-940 |
|
|
|
 |
|
|
|
|
derived class from, 912-914 |
|
|
|
 |
|
|
|
|
specification file for, 939-941 |
|
|
|
 |
|
|
|
|
time.h file, 939-941 |
|
|
|
 |
|
|
|
|
Time zones for Time class, 911-914 |
|
|
|
 |
|
|
|
|
TimeCard class |
|
|
|
 |
|
|
|
|
constructors for, 922-925, 942-943 |
|
|
|
|
|