|
|
 |
|
|
|
|
lifetime of, 398 |
|
|
|
 |
|
|
|
|
side effects with, 401-404 |
|
|
|
 |
|
|
|
|
in team programming, 448 |
|
|
|
 |
|
|
|
|
Gordon, George, 406 |
|
|
|
 |
|
|
|
|
Graph program, 366-369, 429-433 |
|
|
|
 |
|
|
|
|
Greater-than symbol (>) |
|
|
|
 |
|
|
|
|
in arrow operator, 973, 978 |
|
|
|
 |
|
|
|
|
for bitwise operations, 510, 513 |
|
|
|
 |
|
|
|
|
in BNF, 46 |
|
|
|
 |
|
|
|
|
in character comparisons, 522 |
|
|
|
 |
|
|
|
|
in extraction operator, 133-134, 672-675 |
|
|
|
 |
|
|
|
|
precedence of, 197, 516, A1 |
|
|
|
 |
|
|
|
|
with preprocessor directives, 77, 546 |
|
|
|
 |
|
|
|
|
in relational operators, 191 |
|
|
|
 |
|
|
|
|
Gregorian calendar, 870 |
|
|
|
 |
|
|
|
|
Grouping order of operators, 95, 516-517, A1-A2 |
|
|
|
 |
|
|
|
|
.h files. |
|
|
|
 |
|
|
|
|
See Header files |
|
|
|
 |
|
|
|
|
Hand tracing program execution, 234-237, 312 |
|
|
|
 |
|
|
|
|
Hardware, 16-17 |
|
|
|
 |
|
|
|
|
Has-a relationships, 922 |
|
|
|
 |
|
|
|
|
Head pointers for linked lists, 1050 |
|
|
|
 |
|
|
|
|
Header comments, A32-A33 |
|
|
|
 |
|
|
|
|
Header files |
|
|
|
 |
|
|
|
|
assert.h, A2-A3 |
|
|
|
 |
|
|
|
|
for class specifications, 852 |
|
|
|
 |
|
|
|
|
contents of, 76-77 |
|
|
|
 |
|
|
|
|
ctype.h, A3-A5 |
|
|
|
 |
|
|
|
|
float. h, A5 |
|
|
|
 |
|
|
|
|
including, 103, 146, 341-342 |
|
|
|
 |
|
|
|
|
limits .h, A5-A6 |
|
|
|
 |
|
|
|
|
math.h, A6-A7 |
|
|
|
 |
|
|
|
|
multiple inclusion of, 862 |
|
|
|
 |
|
|
|
|
stddef.h, A8 |
|
|
|
 |
|
|
|
|
stdlib.h, A8-A9 |
|
|
|
 |
|
|
|
|
string. h, A9-A10 |
|
|
|
 |
|
|
|
|
user-written, 545-547 |
|
|
|
 |
|
|
|
|
Headings for functions, 49, 72, 326-327, 358-359 |
|
|
|
 |
|
|
|
|
Heap, 981-986 |
|
|
|
 |
|
|
|
|
Helper functions, 1009 |
|
|
|
 |
|
|
|
|
Heterogeneous data types, 772 |
|
|
|
 |
|
|
|
|
Heuristics, 325 |
|
|
|
 |
|
|
|
|
Hexadecimal numbers |
|
|
|
 |
|
|
|
|
constants, A27 |
|
|
|
 |
|
|
|
|
escape sequence with, 521 |
|
|
|
 |
|
|
|
|
representation of integers, 505-507 |
|
|
|
 |
|
|
|
|
syntax templates for, A27-A28 |
|
|
|
 |
|
|
|
|
testing for, A4 |
|
|
|
 |
|
|
|
|
Hexagrammum mysticum, 100 |
|
|
|
 |
|
|
|
|
Hiding |
|
|
|
 |
|
|
|
|
in classes, 850-852 |
|
|
|
 |
|
|
|
|
function implementation, 352-353, 360-361 |
|
|
|
 |
|
|
|
|
variable names, 391-392 |
|
|
|
 |
|
|
|
|
Hierarchical records, 782-789 |
|
|
|
 |
|
|
|
|
Hierarchies |
|
|
|
 |
|
|
|
|
in implementation, 159-160 |
|
|
|
 |
|
|
|
|
inheritance. |
|
|
|
 |
|
|
|
|
See Inheritance |
|
|
|
 |
|
|
|
|
High and low temperatures case study, 292-297 |
|
|
|
 |
|
|
|
|
High-level programming languages, 10-12 |
|
|
|
 |
|
|
|
|
Homogeneous components, 648 |
|
|
|
 |
|
|
|
|
Hopper, Grace Murray, 466-467 |
|
|
|
 |
|
|
|
|
Horizontal spacing in output, 107-108 |
|
|
|
 |
|
|
|
|
Horizontal tab, escape sequence for, 521 |
|
|
|
 |
|
|
|
|
.hpp files, 546 |
|
|
|
 |
|
|
|
|
.hxx files, 546 |
|
|
|
 |
|
|
|
|
Hybrid functions, 417 |
|
|
|
 |
|
|
|
|
Hydroelectric dam, precision problem at, 534 |
|
|
|
 |
|
|
|
|
Hyperexponential class algorithms, 286 |
|
|
|
 |
|
|
|
|
Hyphen (-). |
|
|
|
 |
|
|
|
|
See Minus sign (-) |
|
|
|
 |
|
|
|
|
Hypotenuse case study, 165-168 |
|
|
|
 |
|
|
|
|
Identification stage in object-oriented design, 931-932, 936-937 |
|
|
|
 |
|
|
|
|
Identifiers, 49-51 |
|
|
|
 |
|
|
|
|
capitalization of, 61-62 |
|
|
|
 |
|
|
|
|
declaring, 56-61 |
|
|
|
 |
|
|
|
|
for enumeration types, 536-538 |
|
|
|
 |
|
|
|
|
for file streams, 147-148 |
|
|
|
 |
|
|
|
|
meaningful, 51, A35-A36 |
|
|
|
 |
|
|
|
|
scope of, 390-395 |
|
|
|
 |
|
|
|
|
syntax template for, 50, A13 |
|
|
|
 |
|
|
|
|
IDPart function (TimeCard class), 941, 944 |
|
|
|
 |
|
|
|
|
if statements, 202 |
|
|
|
 |
|
|
|
|
blocks with, 204-205 |
|
|
|
 |
|
|
|
|
dangling else with, 211-212 |
|
|
|
 |
|
|
|
|
equal signs in, 208-209 |
|
|
|
 |
|
|
|
|
If-Then form, 206-208 |
|
|
|
 |
|
|
|
|
If-Then-Else form, 202-204 |
|
|
|
 |
|
|
|
|
If-Then-Else-If form, 210-211 |
|
|
|
 |
|
|
|
|
nested, 209-212, 219 |
|
|
|
 |
|
|
|
|
versus switch, 463 |
|
|
|
 |
|
|
|
|
testing, 237-239 |
|
|
|
 |
|
|
|
|
testing stream states with, 213-215 |
|
|
|
 |
|
|
|
|
versus while, 256 |
|
|
|
 |
|
|
|
|
#ifndef directive, 862 |
|
|
|
 |
|
|
|
|
ifstream class, 146-147, 162, 849 |
|
|
|
 |
|
|
|
|
ignore function, 141-142, 674 |
|
|
|
 |
|
|
|
|
Implementation |
|
|
|
 |
|
|
|
|
of algorithms, 6-7 |
|
|
|
 |
|
|
|
|
of designs, 157-161 |
|
|
|
 |
|
|
|
|
of floating point numbers, 530-533 |
|
|
|
 |
|
|
|
|
of functions, hiding, 352-353, 360-361 |
|
|
|
 |
|
|
|
|
of object-oriented design, 934-935 |
|
|
|
 |
|
|
|
|
of programs, 4, 234-239 |
|
|
|
 |
|
|
|
|
versus specification, 839 |
|
|
|
 |
|
|
|
|
Implementation assertions, 1062 |
|
|
|
 |
|
|
|
|
Implementation files |
|
|
|
 |
|
|
|
|
for CardDeck class, 1097-1101 |
|
|
|
 |
|
|
|
|
for CardPile class, 1085-1090 |
|
|
|
 |
|
|
|
|
for DateType class, 873-882 |
|
|
|
 |
|
|
|
|
for DynArray class, 1022-1030 |
|
|
|
 |
|
|
|
|
for ExtTime class, 917-920 |
|
|
|
 |
|
|
|
|
for OrdList class, 1061-1078 |
|
|
|
 |
|
|
|
|
for Player class, 1102-1107 |
|
|
|
 |
|
|
|
|
for RecordList class, 1007-1015 |
|
|
|
 |
|
|
|
|
for TimeCard class, 922-925, 942-944 |
|
|
|
|
|