|
|
 |
|
|
|
|
Instantiating objects, 846 |
|
|
|
 |
|
|
|
|
int data type, 44, 53-54 |
|
|
|
 |
|
|
|
|
as atomic data type, 502 |
|
|
|
 |
|
|
|
|
for Boolean data, 189 |
|
|
|
 |
|
|
|
|
with enumeration types, 538-539 |
|
|
|
 |
|
|
|
|
with input statements, 135 |
|
|
|
 |
|
|
|
|
range of values for, 504 |
|
|
|
 |
|
|
|
|
syntax template for, A26 |
|
|
|
 |
|
|
|
|
using, 533 |
|
|
|
 |
|
|
|
|
INT_MAX constant, 505, 531, A5 |
|
|
|
 |
|
|
|
|
INT_MIN constant, 505, 531, A5 |
|
|
|
 |
|
|
|
|
Integral data types |
|
|
|
 |
|
|
|
|
for array indices, 597, 605, 710 |
|
|
|
 |
|
|
|
|
BNF definition of, 46-47 |
|
|
|
 |
|
|
|
|
for Boolean data, 189 |
|
|
|
 |
|
|
|
|
constants, 505-507 |
|
|
|
 |
|
|
|
|
converting characters to, 523-524 |
|
|
|
 |
|
|
|
|
demoting, 550 |
|
|
|
 |
|
|
|
|
division with, 65-66 |
|
|
|
 |
|
|
|
|
with enumeration types, 538-539 |
|
|
|
 |
|
|
|
|
functions returning, 44 |
|
|
|
 |
|
|
|
|
with input statements, 135 |
|
|
|
 |
|
|
|
|
mixing with floating-point numbers, 95-99 |
|
|
|
 |
|
|
|
|
overflow of, 54, 531 |
|
|
|
 |
|
|
|
|
promoting, 548 |
|
|
|
 |
|
|
|
|
range of values for, 504-505 |
|
|
|
 |
|
|
|
|
Integrated environments, compiling and linking from, 860-861 |
|
|
|
 |
|
|
|
|
Integrating function, 551-558 |
|
|
|
 |
|
|
|
|
Interactive input, 142-144 |
|
|
|
 |
|
|
|
|
Interactive systems, 19 |
|
|
|
 |
|
|
|
|
Interfaces, 17, 19-20 |
|
|
|
 |
|
|
|
|
designing, 400-404, 415-417 |
|
|
|
 |
|
|
|
|
documentation in, 356 |
|
|
|
 |
|
|
|
|
for functions, 352-353 |
|
|
|
 |
|
|
|
|
in team programming, 353 |
|
|
|
 |
|
|
|
|
Internal representation of characters, 518-519 |
|
|
|
 |
|
|
|
|
Interpreters, 11n, 352 |
|
|
|
 |
|
|
|
|
Invalid data |
|
|
|
 |
|
|
|
|
input failures from, 151-152, 165-167 |
|
|
|
 |
|
|
|
|
testing for, 577-581 |
|
|
|
 |
|
|
|
|
Invariants, loop, 305-310, 475-479, 600 |
|
|
|
 |
|
|
|
|
Investigation of the Laws of Thought, An (Boole), 199 |
|
|
|
 |
|
|
|
|
Invoice program, 303-305 |
|
|
|
 |
|
|
|
|
Invoices case study, 298-305 |
|
|
|
 |
|
|
|
|
Invoking |
|
|
|
 |
|
|
|
|
constructors, 864-865 |
|
|
|
 |
|
|
|
|
functions, 43-44, 100-102, 141,334-335 |
|
|
|
 |
|
|
|
|
I/O. |
|
|
|
 |
|
|
|
|
See Input; |
|
|
|
 |
|
|
|
|
Output |
|
|
|
 |
|
|
|
|
iomanip.h file, 109 |
|
|
|
 |
|
|
|
|
iostream.h file |
|
|
|
 |
|
|
|
|
contents of, 133, 848 |
|
|
|
 |
|
|
|
|
external variables in, 397 |
|
|
|
 |
|
|
|
|
including, 73, 77 |
|
|
|
 |
|
|
|
|
Is-a relationships, 910 |
|
|
|
 |
|
|
|
|
isalnum function, 413, A3 |
|
|
|
 |
|
|
|
|
isalpha function, 413, A3 |
|
|
|
 |
|
|
|
|
iscntrl function, A3 |
|
|
|
 |
|
|
|
|
isdigit function, 413, A3 |
|
|
|
 |
|
|
|
|
IsEmpty function (OrdList class), 1059, 1062 |
|
|
|
 |
|
|
|
|
isgraph function, A3 |
|
|
|
 |
|
|
|
|
islower function, 413, A3 |
|
|
|
 |
|
|
|
|
isprint function, A4 |
|
|
|
 |
|
|
|
|
ispunct function, A4 |
|
|
|
 |
|
|
|
|
isspace function, 413, A4 |
|
|
|
 |
|
|
|
|
istream class, 133, 162, 848-849 |
|
|
|
 |
|
|
|
|
IsTriangle function, 412-413 |
|
|
|
 |
|
|
|
|
isupper function, 413, A4 |
|
|
|
 |
|
|
|
|
isxdigit function, A4 |
|
|
|
 |
|
|
|
|
Iteration counters, 266 |
|
|
|
 |
|
|
|
|
Iterations |
|
|
|
 |
|
|
|
|
in loops, 256-257, 266 |
|
|
|
 |
|
|
|
|
in object-oriented design, 933-934 |
|
|
|
 |
|
|
|
|
versus recursion, 1142-1143 |
|
|
|
 |
|
|
|
|
Iterators, 841 |
|
|
|
 |
|
|
|
|
J_Month function (BirthdayReminder), 574-575 |
|
|
|
 |
|
|
|
|
Jacquard automatic loom, 331 |
|
|
|
 |
|
|
|
|
Joining strings, A9-A10 |
|
|
|
 |
|
|
|
|
Julian calendar, 870 |
|
|
|
 |
|
|
|
|
Keyboards, 16-17, 78. |
|
|
|
 |
|
|
|
|
See also Input |
|
|
|
 |
|
|
|
|
L with constants, 505, 508 |
|
|
|
 |
|
|
|
|
Labels for switch statements, 460-463 |
|
|
|
 |
|
|
|
|
labs function, 103, A9 |
|
|
|
 |
|
|
|
|
Languages |
|
|
|
 |
|
|
|
|
object-oriented, 162 |
|
|
|
 |
|
|
|
|
programming, 6, 9-14 |
|
|
|
 |
|
|
|
|
Lardner, Dionysius, 406 |
|
|
|
 |
|
|
|
|
Laser printers, 17 |
|
|
|
 |
|
|
|
|
LCD (liquid crystal display) screens, 16 |
|
|
|
 |
|
|
|
|
LDBL_DIG constant, A5 |
|
|
|
 |
|
|
|
|
LDBL_MAX constant, 508, A5 |
|
|
|
 |
|
|
|
|
LDBL_MIN constant, 508, A5 |
|
|
|
 |
|
|
|
|
Leading zeros in numbers, 54-55 |
|
|
|
 |
|
|
|
|
Leaks, memory, 983-986, 995 |
|
|
|
 |
|
|
|
|
Left shift operator, 513 |
|
|
|
 |
|
|
|
|
Length |
|
|
|
 |
|
|
|
|
of arrays, 612 |
|
|
|
 |
|
|
|
|
of lists, 648 |
|
|
|
 |
|
|
|
|
of strings, 669-670, 676-677, A10 |
|
|
|
 |
|
|
|
|
Length function (CardPile class), 1084, 1086, 1089 |
|
|
|
 |
|
|
|
|
Less-than symbol (<) |
|
|
|
 |
|
|
|
|
for bitwise operations, 510, 513 |
|
|
|
 |
|
|
|
|
in BNF, 46 |
|
|
|
 |
|
|
|
|
with character comparisons, 522 |
|
|
|
 |
|
|
|
|
for insertion operator, 68-69, 672 |
|
|
|
 |
|
|
|
|
precedence of, 197, 516, A1 |
|
|
|
 |
|
|
|
|
with preprocessor directives, 77, 546 |
|
|
|
 |
|
|
|
|
in relational operators, 191 |
|
|
|
 |
|
|
|
|
LessThan function (TimeType class), 856, 866 |
|
|
|
 |
|
|
|
|
Letters |
|
|
|
 |
|
|
|
|
converting case of, 524-526 |
|
|
|
 |
|
|
|
|
in EBCDIC character set, 522 |
|
|
|
 |
|
|
|
|
in identifiers, 51, 62-63 |
|
|
|
 |
|
|
|
|
in string comparisons, 678 |
|
|
|
 |
|
|
|
|
syntax template for, A13 |
|
|
|
 |
|
|
|
|
testing characters for, 413 |
|
|
|
 |
|
|
|
|
Lexicographic order, 677 |
|
|
|
 |
|
|
|
|
Libraries for classes, 164 |
|
|
|
 |
|
|
|
|
Library functions |
|
|
|
 |
|
|
|
|
in assert.h, A2-A3 |
|
|
|
|
|