|
|
 |
|
|
|
|
for Area program, 555 |
|
|
|
 |
|
|
|
|
for BirthdayCalls program, 885 |
|
|
|
 |
|
|
|
|
for BirthdayReminder program, 572 |
|
|
|
 |
|
|
|
|
for CategoryCount program, 482 |
|
|
|
 |
|
|
|
|
for CharCount program, 623 |
|
|
|
 |
|
|
|
|
for CheckLists program, 616 |
|
|
|
 |
|
|
|
|
for CountAll program, 632 |
|
|
|
 |
|
|
|
|
for Election program, 732 |
|
|
|
 |
|
|
|
|
for Exam program, 688 |
|
|
|
 |
|
|
|
|
for Friends program, 802 |
|
|
|
 |
|
|
|
|
for Game program, 562 |
|
|
|
 |
|
|
|
|
for Graph program, 365-366 |
|
|
|
 |
|
|
|
|
for Incomes program, 290 |
|
|
|
 |
|
|
|
|
for Invoice program, 302 |
|
|
|
 |
|
|
|
|
for LumberYard program, 228 |
|
|
|
 |
|
|
|
|
for MergeLists program, 813 |
|
|
|
 |
|
|
|
|
for Notices program, 222 |
|
|
|
 |
|
|
|
|
for program assignments, 174 |
|
|
|
 |
|
|
|
|
for PunchIn program, 952 |
|
|
|
 |
|
|
|
|
for Rainfall program, 488 |
|
|
|
 |
|
|
|
|
for RecordList class, 1015 |
|
|
|
 |
|
|
|
|
for Solitaire program, 1108 |
|
|
|
 |
|
|
|
|
for Starship program, 439 |
|
|
|
 |
|
|
|
|
for TempStat program, 295 |
|
|
|
 |
|
|
|
|
for TestAverage program, 171 |
|
|
|
 |
|
|
|
|
for Transpose program, 421 |
|
|
|
 |
|
|
|
|
for Triangle program, 167 |
|
|
|
 |
|
|
|
|
Modules, 154-156 |
|
|
|
 |
|
|
|
|
shared, 160-161 |
|
|
|
 |
|
|
|
|
as void functions, 325-328 |
|
|
|
 |
|
|
|
|
Modulus operator (%), 65-66 |
|
|
|
 |
|
|
|
|
for number conversion, 1144-1146 |
|
|
|
 |
|
|
|
|
precedence of, 94-95, A1 |
|
|
|
 |
|
|
|
|
Moment arms, 435 |
|
|
|
 |
|
|
|
|
Monitors, 17 |
|
|
|
 |
|
|
|
|
Month function (DateType class), 872, 879 |
|
|
|
 |
|
|
|
|
Monthly rainfall case study, 486-492 |
|
|
|
 |
|
|
|
|
Mouse, 16-17 |
|
|
|
 |
|
|
|
|
MoveFour function (Player class), 1104, 1106 |
|
|
|
 |
|
|
|
|
MoveTwo function (Player class), 1104, 1106-1107 |
|
|
|
 |
|
|
|
|
Multi-way branches, 210 |
|
|
|
 |
|
|
|
|
Multidimensional arrays, 724-727 |
|
|
|
 |
|
|
|
|
versus parallel arrays, 727-728 |
|
|
|
 |
|
|
|
|
testing and debugging, 757-759 |
|
|
|
 |
|
|
|
|
Multifile programs, 359 |
|
|
|
 |
|
|
|
|
compiling and linking, 859-861 |
|
|
|
 |
|
|
|
|
external variables in, 396-397 |
|
|
|
 |
|
|
|
|
Multiple exits in functions, 340-341 |
|
|
|
 |
|
|
|
|
Multiple inclusion of header files, 862 |
|
|
|
 |
|
|
|
|
Multiplication, 65-66 |
|
|
|
 |
|
|
|
|
in assignment operators, 510, 512 |
|
|
|
 |
|
|
|
|
precedence of, 94-95 |
|
|
|
 |
|
|
|
|
syntax template for, A23 |
|
|
|
 |
|
|
|
|
\n escape sequence, 136-137, 521 |
|
|
|
 |
|
|
|
|
Name precedence, 391-392 |
|
|
|
 |
|
|
|
|
Named constants, 60-63 |
|
|
|
 |
|
|
|
|
header files for, 342 |
|
|
|
 |
|
|
|
|
scope of, 390-391 |
|
|
|
 |
|
|
|
|
Named data types, 544-545 |
|
|
|
 |
|
|
|
|
Named parameter passing, 352 |
|
|
|
 |
|
|
|
|
Names |
|
|
|
 |
|
|
|
|
of arrays, 596, 976-978 |
|
|
|
 |
|
|
|
|
of constructors, 863 |
|
|
|
 |
|
|
|
|
of enumeration types, 544-545 |
|
|
|
 |
|
|
|
|
of files, run-time input of, 675-676 |
|
|
|
 |
|
|
|
|
of functions, 327, 341, 391, 414-115 |
|
|
|
 |
|
|
|
|
for mainframe logons, 77 |
|
|
|
 |
|
|
|
|
parameter passing by, 351-352 |
|
|
|
 |
|
|
|
|
of parameters, 333, 337-338,347 |
|
|
|
 |
|
|
|
|
reformatting, program for, 418-424 |
|
|
|
 |
|
|
|
|
of string types, 679 |
|
|
|
 |
|
|
|
|
of structure (struct) members, 772, 823-824 |
|
|
|
 |
|
|
|
|
syntax template for, A17 |
|
|
|
 |
|
|
|
|
of user-defined types, 535 |
|
|
|
 |
|
|
|
|
of variables. See Identifiers |
|
|
|
 |
|
|
|
|
Narrowing of data types, 549-551 |
|
|
|
 |
|
|
|
|
Naur, Peter, 46 |
|
|
|
 |
|
|
|
|
NDEBUG 372 |
|
|
|
 |
|
|
|
|
Negation, 54, 65 |
|
|
|
 |
|
|
|
|
Negative exponents, 527-528 |
|
|
|
 |
|
|
|
|
Negative numbers, 54, 65 |
|
|
|
 |
|
|
|
|
Nesting |
|
|
|
 |
|
|
|
|
for array processing, 714-716 |
|
|
|
 |
|
|
|
|
blocks, 393-396 |
|
|
|
 |
|
|
|
|
for statements, 469-470 |
|
|
|
 |
|
|
|
|
if statements, 209-212, 219 |
|
|
|
 |
|
|
|
|
loops, 254,714-716 |
|
|
|
 |
|
|
|
|
while statements, 277-283 |
|
|
|
 |
|
|
|
|
new operator, 980-986 |
|
|
|
 |
|
|
|
|
Newline characters, 136-138 |
|
|
|
 |
|
|
|
|
escape sequence for, 521 |
|
|
|
 |
|
|
|
|
with string input, 672-675 |
|
|
|
 |
|
|
|
|
NewWelcome program, 332-334 |
|
|
|
 |
|
|
|
|
Nibbles, 9 |
|
|
|
 |
|
|
|
|
Nodes |
|
|
|
 |
|
|
|
|
allocating, 1051-1058 |
|
|
|
 |
|
|
|
|
in linked lists, 1047 |
|
|
|
 |
|
|
|
|
Nonlocal access, 393 |
|
|
|
 |
|
|
|
|
Nonprintable characters, 520, A29 |
|
|
|
 |
|
|
|
|
Nonterminal symbols, 46 |
|
|
|
 |
|
|
|
|
Nonzero digits, syntax templates for, 506, A26 |
|
|
|
 |
|
|
|
|
Not equal to operator (!=), 191 |
|
|
|
 |
|
|
|
|
NOT operator (!) |
|
|
|
 |
|
|
|
|
in assertion comments, 355 |
|
|
|
 |
|
|
|
|
in logical expressions, 193-196,199 |
|
|
|
 |
|
|
|
|
with pointers, 978-979 |
|
|
|
 |
|
|
|
|
precedence of, 197, 516, A1 |
|
|
|
 |
|
|
|
|
Notebook computers, 18 |
|
|
|
 |
|
|
|
|
NotEqualCount program, 268-272 |
|
|
|
 |
|
|
|
|
Notices program, 222-225 |
|
|
|
 |
|
|
|
|
Null characters in strings, 668-670 |
|
|
|
 |
|
|
|
|
NULL constant, A8 |
|
|
|
 |
|
|
|
|
for linked lists, 1055, 1058 |
|
|
|
 |
|
|
|
|
for pointers, 975-976 |
|
|
|
 |
|
|
|
|
Null pointers, 974-976, 1031 |
|
|
|
 |
|
|
|
|
Null statement, 74 |
|
|
|
 |
|
|
|
|
with for statements, 469-470 |
|
|
|
 |
|
|
|
|
with if statements, 206 |
|
|
|
 |
|
|
|
|
Number bases, 505-507 |
|
|
|
|
|