|
|
 |
|
|
|
|
in assignment operators, 510, 512 |
|
|
|
 |
|
|
|
|
in increment operator, 67-68 |
|
|
|
 |
|
|
|
|
precedence of, 94-95, 197, 516, A1 |
|
|
|
 |
|
|
|
|
Pointers, 968-969 |
|
|
|
 |
|
|
|
|
arithmetic with, 979 |
|
|
|
 |
|
|
|
|
array names as, 976-978 |
|
|
|
 |
|
|
|
|
arrays of, 973-974 |
|
|
|
 |
|
|
|
|
constants, 974-976 |
|
|
|
 |
|
|
|
|
dangling, 984-986, 1031-1032 |
|
|
|
 |
|
|
|
|
declaring, 969-970, 972 |
|
|
|
 |
|
|
|
|
for dynamic data, 979-986 |
|
|
|
 |
|
|
|
|
expressions for, 974-979, 1078-1079 |
|
|
|
 |
|
|
|
|
for linked lists. See Dynamic linked lists |
|
|
|
 |
|
|
|
|
null, 974-976, 1031 |
|
|
|
 |
|
|
|
|
operations with, 978-979 |
|
|
|
 |
|
|
|
|
recursion with, 1135-1142 |
|
|
|
 |
|
|
|
|
sorting with, 1003-1005, 1015-1018 |
|
|
|
 |
|
|
|
|
syntax templates for, A16, A24 |
|
|
|
 |
|
|
|
|
testing and debugging, 1030-1033 |
|
|
|
 |
|
|
|
|
variables for, 969-974 |
|
|
|
 |
|
|
|
|
Pointing devices, 16-17 |
|
|
|
 |
|
|
|
|
Poker hands, number of, 531-532 |
|
|
|
 |
|
|
|
|
Polymorphic operations, 930 |
|
|
|
 |
|
|
|
|
Polynomial expressions, 286 |
|
|
|
 |
|
|
|
|
Polynomial time, 286 |
|
|
|
 |
|
|
|
|
Portability and character sets, 519 |
|
|
|
 |
|
|
|
|
Portable code, 12 |
|
|
|
 |
|
|
|
|
Positional parameter matching, 334, 349-352, 720-721 |
|
|
|
 |
|
|
|
|
Post-incrementation, 512-513 |
|
|
|
 |
|
|
|
|
Postconditions |
|
|
|
 |
|
|
|
|
assertions for, 354-356 |
|
|
|
 |
|
|
|
|
in problem-solving, 231-234 |
|
|
|
 |
|
|
|
|
in specification files, 852-854 |
|
|
|
 |
|
|
|
|
Postfix operators, 67-68, 990, A25 |
|
|
|
 |
|
|
|
|
Posttest loops, 468 |
|
|
|
 |
|
|
|
|
Pound sign (#), 76, 862 |
|
|
|
 |
|
|
|
|
pow function, 103, A7 |
|
|
|
 |
|
|
|
|
Power, turning off, 81 |
|
|
|
 |
|
|
|
|
Power function |
|
|
|
 |
|
|
|
|
using iteration, 410-411 |
|
|
|
 |
|
|
|
|
using recursion, 1120-1124 |
|
|
|
 |
|
|
|
|
Pre-incrementation, 512-513 |
|
|
|
 |
|
|
|
|
Precedence |
|
|
|
 |
|
|
|
|
of function calls, 102 |
|
|
|
 |
|
|
|
|
name, 391-392 |
|
|
|
 |
|
|
|
|
of operators, 94-95, 197-198, 516-517, A1-A2 |
|
|
|
 |
|
|
|
|
Precision |
|
|
|
 |
|
|
|
|
and demotion, 550 |
|
|
|
 |
|
|
|
|
of floating point numbers, 55-56, 526-528, 530, 534 |
|
|
|
 |
|
|
|
|
in output statements, 111-113 |
|
|
|
 |
|
|
|
|
Preconditions |
|
|
|
 |
|
|
|
|
assertions for, 354-356 |
|
|
|
 |
|
|
|
|
in problem-solving, 231-234 |
|
|
|
 |
|
|
|
|
in specification files, 852-854 |
|
|
|
 |
|
|
|
|
Prefix notation for type casting, 514 |
|
|
|
 |
|
|
|
|
Prefix operators, 67-68, 990 |
|
|
|
 |
|
|
|
|
Preprocessor, 76-77, 546-547, 862 |
|
|
|
 |
|
|
|
|
Pretest loops, 468 |
|
|
|
 |
|
|
|
|
Primary expressions, syntax template for, A26 |
|
|
|
 |
|
|
|
|
Priming reads |
|
|
|
 |
|
|
|
|
with do-while statements, 465-466 |
|
|
|
 |
|
|
|
|
in event-controlled loops, 260 |
|
|
|
 |
|
|
|
|
Print functions |
|
|
|
 |
|
|
|
|
for arrays, 1133-1134 |
|
|
|
 |
|
|
|
|
in CharCount, 626-627 |
|
|
|
 |
|
|
|
|
in CountAll, 634 |
|
|
|
 |
|
|
|
|
in Date class, 993 |
|
|
|
 |
|
|
|
|
in DateType class, 872, 875, 879-880 |
|
|
|
 |
|
|
|
|
dynamic binding with, 926 |
|
|
|
 |
|
|
|
|
in Exam, 695-696 |
|
|
|
 |
|
|
|
|
in OrdList class, 1059, 1063-1065 |
|
|
|
 |
|
|
|
|
in TimeCard class, 922, 942, 944 |
|
|
|
 |
|
|
|
|
Print2Lines function (Welcome), 327-328 |
|
|
|
 |
|
|
|
|
Print4Lines function (Welcome), 328 |
|
|
|
 |
|
|
|
|
Printable characters, 520, A4 |
|
|
|
 |
|
|
|
|
PrintActivity function (Activity), 346 |
|
|
|
 |
|
|
|
|
PrintAil function (RecordList class), 1007, 1009, 1014 |
|
|
|
 |
|
|
|
|
PrintBigWinner function (Game), 567 |
|
|
|
 |
|
|
|
|
PrintData function (Graph), 368-369, 432-433 |
|
|
|
 |
|
|
|
|
PrintEntry functionBirthdayCalls), 889 |
|
|
|
 |
|
|
|
|
Printers, 16-18 |
|
|
|
 |
|
|
|
|
PrintHeading function (Graph), 367,431 |
|
|
|
 |
|
|
|
|
Printing |
|
|
|
 |
|
|
|
|
arrays recursively, 1132-1134 |
|
|
|
 |
|
|
|
|
in case study, 298-305 |
|
|
|
 |
|
|
|
|
dates, 871, 875 |
|
|
|
 |
|
|
|
|
echo, 143-145 |
|
|
|
 |
|
|
|
|
with enumeration types, 542 |
|
|
|
 |
|
|
|
|
linked lists, 1063-1065, 1135-1137 |
|
|
|
 |
|
|
|
|
using recursion, 1132-1134 |
|
|
|
 |
|
|
|
|
strings, 672 |
|
|
|
 |
|
|
|
|
two-dimensional arrays, 718-719 |
|
|
|
 |
|
|
|
|
PrintLast function (Transpose), 422-423 |
|
|
|
 |
|
|
|
|
PrintLines function, (NewWelcome), 332-334 |
|
|
|
 |
|
|
|
|
Printmonth functions (BirthdayReminder), 576 |
|
|
|
 |
|
|
|
|
PrintName function (Transpose), 423 |
|
|
|
 |
|
|
|
|
PrintWarning function (Starship), 444-445 |
|
|
|
 |
|
|
|
|
Private base classes, 913n |
|
|
|
 |
|
|
|
|
Private class members, 844-846 |
|
|
|
 |
|
|
|
|
as abstraction barrier, 850-852 |
|
|
|
 |
|
|
|
|
in implementation files, 857-858 |
|
|
|
 |
|
|
|
|
for objects, 163 |
|
|
|
 |
|
|
|
|
for Time class, 911-912 |
|
|
|
 |
|
|
|
|
private reserved word, 844-845 |
|
|
|
 |
|
|
|
|
Problem domain in objectoriented design, 930-931 |
|
|
|
|
|