|
|
 |
|
|
|
|
lists, 613-619 |
|
|
|
 |
|
|
|
|
relational operators for, 190-193 |
|
|
|
 |
|
|
|
|
strings, 677-678, A10 |
|
|
|
 |
|
|
|
|
Compilers and compilation, 11-12, 78-80 |
|
|
|
 |
|
|
|
|
for multifile programs, 359, 859-861 |
|
|
|
 |
|
|
|
|
tests performed during, 239-240 |
|
|
|
 |
|
|
|
|
Complexity |
|
|
|
 |
|
|
|
|
of algorithms, 283-286 |
|
|
|
 |
|
|
|
|
communication, 425 |
|
|
|
 |
|
|
|
|
in searches, 667-668 |
|
|
|
 |
|
|
|
|
Component members in linked lists, 1047 |
|
|
|
 |
|
|
|
|
Composition |
|
|
|
 |
|
|
|
|
in classes, 921-925 |
|
|
|
 |
|
|
|
|
in object-oriented design, 932-933 |
|
|
|
 |
|
|
|
|
Compound statements. |
|
|
|
 |
|
|
|
|
See Blocks |
|
|
|
 |
|
|
|
|
ComputeAverages function (Absentee), 750-751 |
|
|
|
 |
|
|
|
|
Computer programming. |
|
|
|
 |
|
|
|
|
See Programming |
|
|
|
 |
|
|
|
|
Computer programs. See Programs |
|
|
|
 |
|
|
|
|
Computers, 2, 14-19 |
|
|
|
 |
|
|
|
|
Concatenating strings, A9-A10 |
|
|
|
 |
|
|
|
|
Concrete steps, 154 |
|
|
|
 |
|
|
|
|
Conditional evaluation of logical expressions, 196 |
|
|
|
 |
|
|
|
|
Conditional operator, 515-516 |
|
|
|
 |
|
|
|
|
Conditions, 13-14 |
|
|
|
 |
|
|
|
|
for flow of control. |
|
|
|
 |
|
|
|
|
See Control structures |
|
|
|
 |
|
|
|
|
and logical expressions, 188-197 |
|
|
|
 |
|
|
|
|
operators for, 193-196 |
|
|
|
 |
|
|
|
|
relational operators for, 190-193 |
|
|
|
 |
|
|
|
|
syntax template for, A22 |
|
|
|
 |
|
|
|
|
ConePaint program, 121-122, 157-161 |
|
|
|
 |
|
|
|
|
Consistent function, 777-778 |
|
|
|
 |
|
|
|
|
const reserved word |
|
|
|
 |
|
|
|
|
for arrays, 609 |
|
|
|
 |
|
|
|
|
for constant declarations, 60 |
|
|
|
 |
|
|
|
|
in copy-constructors, 999 |
|
|
|
 |
|
|
|
|
for member functions, 851-852, 858 |
|
|
|
 |
|
|
|
|
Constant time execution, 284-286 |
|
|
|
 |
|
|
|
|
Constants |
|
|
|
 |
|
|
|
|
in array indices, 597-598 |
|
|
|
 |
|
|
|
|
char, 520-521 |
|
|
|
 |
|
|
|
|
comments for, 71 |
|
|
|
 |
|
|
|
|
declaring, 59-62 |
|
|
|
 |
|
|
|
|
in expressions, 64 |
|
|
|
 |
|
|
|
|
in float. h, A5 |
|
|
|
 |
|
|
|
|
floating point, 508-509 |
|
|
|
 |
|
|
|
|
global, 404 |
|
|
|
 |
|
|
|
|
header files for, 342 |
|
|
|
 |
|
|
|
|
integer, 505-507 |
|
|
|
 |
|
|
|
|
in limits.h, A5-A6 |
|
|
|
 |
|
|
|
|
as parameters, 102, 141, 333, 343 |
|
|
|
 |
|
|
|
|
pointer, 974-976 |
|
|
|
 |
|
|
|
|
scope of, 390-391 |
|
|
|
 |
|
|
|
|
in stddef.h, A8 |
|
|
|
 |
|
|
|
|
string, 668-669, 671 |
|
|
|
 |
|
|
|
|
syntax templates for, A16, A26, A28 |
|
|
|
 |
|
|
|
|
Constructor initializers, 919, 924 |
|
|
|
 |
|
|
|
|
Constructors, 841, 863-864 |
|
|
|
 |
|
|
|
|
copy-constructors, 998-1001 |
|
|
|
 |
|
|
|
|
for DateType class, 873-875 |
|
|
|
 |
|
|
|
|
declaring, 863-865 |
|
|
|
 |
|
|
|
|
for derived classes, 917, 919 |
|
|
|
 |
|
|
|
|
execution order of, 924-925 |
|
|
|
 |
|
|
|
|
guidelines for, 867-868 |
|
|
|
 |
|
|
|
|
invoking, 864-865 |
|
|
|
 |
|
|
|
|
for TimeCard class, 922-925 |
|
|
|
 |
|
|
|
|
Constructs, 46 |
|
|
|
 |
|
|
|
|
Containment, 921-925 |
|
|
|
 |
|
|
|
|
continue statements, 472-475 |
|
|
|
 |
|
|
|
|
Control abstraction, 424-425 |
|
|
|
 |
|
|
|
|
Control characters, 520, A3 |
|
|
|
 |
|
|
|
|
Control structures, 13-14, 186-188 |
|
|
|
 |
|
|
|
|
conditions and logical expressions in, 188-197 |
|
|
|
 |
|
|
|
|
do-while loops, 464-468 |
|
|
|
 |
|
|
|
|
efficiency in, 284-286 |
|
|
|
 |
|
|
|
|
for loops, 468-471 |
|
|
|
 |
|
|
|
|
functions as, 329-330 |
|
|
|
 |
|
|
|
|
if statements. See if statements |
|
|
|
 |
|
|
|
|
nested, 209-212 |
|
|
|
 |
|
|
|
|
switch statements, 460-464 |
|
|
|
 |
|
|
|
|
testing, 237-239 |
|
|
|
 |
|
|
|
|
while loops. |
|
|
|
 |
|
|
|
|
See while statements |
|
|
|
 |
|
|
|
|
Control unit, 15-16 |
|
|
|
 |
|
|
|
|
ConversionVal function (Game), 565-566 |
|
|
|
 |
|
|
|
|
Convert function, 1145-1146 |
|
|
|
 |
|
|
|
|
Converting |
|
|
|
 |
|
|
|
|
case of characters, 524-526, A5 |
|
|
|
 |
|
|
|
|
data types, A8 |
|
|
|
 |
|
|
|
|
decimal numbers to binary, 1143-1146 |
|
|
|
 |
|
|
|
|
Copy-constructors, 998-1001 |
|
|
|
 |
|
|
|
|
for CardPile class, 1086-1088 |
|
|
|
 |
|
|
|
|
for DynArray class, 1021, 1024-1025, 1027-1028 |
|
|
|
 |
|
|
|
|
for OrdList class, 1079-1081 |
|
|
|
 |
|
|
|
|
Copy function, 609-610 |
|
|
|
 |
|
|
|
|
CopyFrom function |
|
|
|
 |
|
|
|
|
in Date class, 993-994, 996-997 |
|
|
|
 |
|
|
|
|
in DynArray class, 1021, 1025-1026, 1029-1030 |
|
|
|
 |
|
|
|
|
Copying |
|
|
|
 |
|
|
|
|
arrays, 603, 609-610 |
|
|
|
 |
|
|
|
|
in classes, 996-997 |
|
|
|
 |
|
|
|
|
linked lists, 1138-1142 |
|
|
|
 |
|
|
|
|
strings, 677, 981-982, A10 |
|
|
|
 |
|
|
|
|
cos function, 103, A6 |
|
|
|
 |
|
|
|
|
cosh function, A6 |
|
|
|
 |
|
|
|
|
Count-controlled loops |
|
|
|
 |
|
|
|
|
with do-while statements, 466-467 |
|
|
|
 |
|
|
|
|
in flow design, 274-275 |
|
|
|
 |
|
|
|
|
with for statements, 468-471 |
|
|
|
 |
|
|
|
|
in nested loops, 279-280 |
|
|
|
 |
|
|
|
|
testing, 308-311 |
|
|
|
 |
|
|
|
|
with while statements, 257-259 |
|
|
|
 |
|
|
|
|
CountAll program, 632-635 |
|
|
|
 |
|
|
|
|
Counter variables, 258-259, 266 |
|
|
|
 |
|
|
|
|
Counting characters case study, 479-485 |
|
|
|
|
|