|
|
 |
|
|
|
|
for TimeCardList class, |
|
|
|
 |
|
|
|
|
947-951 |
|
|
|
 |
|
|
|
|
for TimeType class, 854-858, 867 |
|
|
|
 |
|
|
|
|
Implementation hierarchy diagrams, 1049-1050 |
|
|
|
 |
|
|
|
|
Implementation-level objects, 932 |
|
|
|
 |
|
|
|
|
Implication operator, 307, 476 |
|
|
|
 |
|
|
|
|
Implicit parameter matching, 352 |
|
|
|
 |
|
|
|
|
In-line comments, A33 |
|
|
|
 |
|
|
|
|
In-place sorting, 654 |
|
|
|
 |
|
|
|
|
Inaccessible objects, 984-986 |
|
|
|
 |
|
|
|
|
#include directives |
|
|
|
 |
|
|
|
|
in implementation files, 857 |
|
|
|
 |
|
|
|
|
for library files, 76-77, 103, 341-342 |
|
|
|
 |
|
|
|
|
for user-written header files, 546 |
|
|
|
 |
|
|
|
|
Include directory, 77, 546 |
|
|
|
 |
|
|
|
|
Inclusive OR expressions, syntax template for, A22 |
|
|
|
 |
|
|
|
|
Income by gender case study, 286-292 |
|
|
|
 |
|
|
|
|
Incomes program, 290-292 |
|
|
|
 |
|
|
|
|
Incoming/outgoing values in interfaces, 354, 356-359 |
|
|
|
 |
|
|
|
|
Incoming values in interfaces, 353-354, 356-359 |
|
|
|
 |
|
|
|
|
Incomplete declarations, 1051-1052 |
|
|
|
 |
|
|
|
|
Increment functions |
|
|
|
 |
|
|
|
|
in DateType class, 873, 876-877, 880-881 |
|
|
|
 |
|
|
|
|
in Time class, 939 |
|
|
|
 |
|
|
|
|
in TimeType class, 853, 855, 866, 890-891 |
|
|
|
 |
|
|
|
|
Increment operators, 21, 67-68, 510 |
|
|
|
 |
|
|
|
|
with pointers, 979 |
|
|
|
 |
|
|
|
|
precedence of, 516, A2 |
|
|
|
 |
|
|
|
|
side effects from, 512-513 |
|
|
|
 |
|
|
|
|
Incrementing |
|
|
|
 |
|
|
|
|
dates, 871-872, 876 |
|
|
|
 |
|
|
|
|
with enumeration types, 540-541 |
|
|
|
 |
|
|
|
|
loop control variables, 258-259, 275 |
|
|
|
 |
|
|
|
|
IncrementProperCounter function (CategoryCount), 483-484 |
|
|
|
 |
|
|
|
|
Indentation |
|
|
|
 |
|
|
|
|
of blocks, 75 |
|
|
|
 |
|
|
|
|
of if statements, 202-203, 207, 210-212, 219 |
|
|
|
 |
|
|
|
|
for readability, 113-115, A37-A39 |
|
|
|
 |
|
|
|
|
Indices in arrays, 595-596 |
|
|
|
 |
|
|
|
|
data types for, 605-606 |
|
|
|
 |
|
|
|
|
expressions for, 596-598 |
|
|
|
 |
|
|
|
|
out-of bounds, 599-601, 635-636, 758 |
|
|
|
 |
|
|
|
|
with pointers, 978 |
|
|
|
 |
|
|
|
|
safe array class for, 1018-1019 |
|
|
|
 |
|
|
|
|
semantic content in, 613 |
|
|
|
 |
|
|
|
|
Indirect addressing, 970 |
|
|
|
 |
|
|
|
|
Indirection operator, 970-971, 973 |
|
|
|
 |
|
|
|
|
Infinite loops, 5, 259 |
|
|
|
 |
|
|
|
|
from assignment expressions, 262-263, 312 |
|
|
|
 |
|
|
|
|
exiting, 472-473, 475 |
|
|
|
 |
|
|
|
|
loop invariants for, 479 |
|
|
|
 |
|
|
|
|
Infinite recursion, 1123-1124 |
|
|
|
 |
|
|
|
|
Infix operators, 990 |
|
|
|
 |
|
|
|
|
Information, 8 |
|
|
|
 |
|
|
|
|
Information hiding, 850-852 |
|
|
|
 |
|
|
|
|
Inheritance, 909-910 |
|
|
|
 |
|
|
|
|
accessibility with, 914 |
|
|
|
 |
|
|
|
|
in deriving classes, 911-914 |
|
|
|
 |
|
|
|
|
in object-oriented design, 164, 932-933 |
|
|
|
 |
|
|
|
|
Initialization |
|
|
|
 |
|
|
|
|
in declarations, 399-400 |
|
|
|
 |
|
|
|
|
in for statements, 469-471 |
|
|
|
 |
|
|
|
|
of local variables, 338-339 |
|
|
|
 |
|
|
|
|
of loop control variables, 258-259, 275 |
|
|
|
 |
|
|
|
|
of objects, 863-868, 998-1001 |
|
|
|
 |
|
|
|
|
of one-dimensional arrays, 601-602 |
|
|
|
 |
|
|
|
|
of records (structs), 776 |
|
|
|
 |
|
|
|
|
of strings, 671-672 |
|
|
|
 |
|
|
|
|
of two-dimensional arrays, 717-718, 722 |
|
|
|
 |
|
|
|
|
Initialize function, 722 |
|
|
|
 |
|
|
|
|
InitializeAttendance function (Exam), 690 |
|
|
|
 |
|
|
|
|
Initializers, 399, A19 |
|
|
|
 |
|
|
|
|
Inline implementation, 159 |
|
|
|
 |
|
|
|
|
Input, 132-133 |
|
|
|
 |
|
|
|
|
in batch processing, 144-145 |
|
|
|
 |
|
|
|
|
of characters, 138-141 |
|
|
|
 |
|
|
|
|
classes for, 848-849 |
|
|
|
 |
|
|
|
|
devices for, 16 |
|
|
|
 |
|
|
|
|
with enumeration types, 541-542 |
|
|
|
 |
|
|
|
|
extraction operator for, 133-136 |
|
|
|
 |
|
|
|
|
failures in, 150-152, 165-167 |
|
|
|
 |
|
|
|
|
files for. |
|
|
|
 |
|
|
|
|
See Files |
|
|
|
 |
|
|
|
|
with get, 138-141 |
|
|
|
 |
|
|
|
|
if statements for, 203 |
|
|
|
 |
|
|
|
|
interactive, 142-144 |
|
|
|
 |
|
|
|
|
reading marker and newline character in, 136-138 |
|
|
|
 |
|
|
|
|
skipping characters in, 141-142, 674 |
|
|
|
 |
|
|
|
|
of strings, 672-675 |
|
|
|
 |
|
|
|
|
of structure (struct) members, 776 |
|
|
|
 |
|
|
|
|
testing and debugging, 173-176, 577-581 |
|
|
|
 |
|
|
|
|
validating, 234 |
|
|
|
 |
|
|
|
|
Input files, opening, 148 |
|
|
|
 |
|
|
|
|
Insert functions, 659-662 |
|
|
|
 |
|
|
|
|
in Exam, 691-692 |
|
|
|
 |
|
|
|
|
in Friends, 805-806 |
|
|
|
 |
|
|
|
|
in OrdList class, 1059, 1068-1074 |
|
|
|
 |
|
|
|
|
Inserting items |
|
|
|
 |
|
|
|
|
into linked lists, 1048-1050, 1065-1074 |
|
|
|
 |
|
|
|
|
into ordered lists, 659-662 |
|
|
|
 |
|
|
|
|
Insertion operator (<), 68-70, 672 |
|
|
|
 |
|
|
|
|
InsertTop functions |
|
|
|
 |
|
|
|
|
in CardPile class, 1085-1086, 1089-1090 |
|
|
|
 |
|
|
|
|
in OrdList class, 1059, 1065-1068 |
|
|
|
 |
|
|
|
|
Instance variables, 908-909 |
|
|
|
 |
|
|
|
|
Instances |
|
|
|
 |
|
|
|
|
of ADTs, 841, 908 |
|
|
|
 |
|
|
|
|
of classes, 843-844 |
|
|
|
|
|