multiple base classes
ambiguity resolution,
463-464
constructors, 460-463
objects, 460
multiple exceptions, 729-732
multiple inheritance,
456-459
ambiguity resolution,
463-464
class design, 358-359
constructors, 460-463
declaring, 459
example, 457-459
limitations, 472
objects, 460
shared base classes,
464-468
virtual inheritance,
468-472
virtual methods, 459
multiple initialization, 190
multiple input (cin),
601-603
multiple values (functions),
268-271
multiple variables, defining,
50
N
\n escape code, 28-29, 58
name conflicts, 637-642
nameless temporary objects,
307-309
names
arrays, 427-428
capitalization, 782
classes, 141-142
counting variables, 195
filename extensions
.c, 14
.cpp, 14, 162
.h, 163
.hp, 163
.hpp, 163
.obj, 15
identifiers, 781-782
name conflicts, 637-642
pointers, 224
references, 256
spelling, 782
templates, 664
variables, 47-48
case-sensitivity, 48
Hungarian notation,
48-49
reserved words,
49-50, 817
namespace keyword,
31-32
namespaces, 637-638
adding members to,
645-646
aliases, 652
creating, 643-644
designating
namespace keyword,
31-32
std:: notation, 30
using keyword, 30-31
function definitions, 645
headers, 645
nesting, 646
sample program listing,
646-648
std, 654-655
type definitions, 644
unnamed, 652-653
unnamed namespaces, 656
NCITS (National
Committee for
Information Technology
Standards), 12
negative numbers, 96
nesting
for loops, 193-195
if statements
braces ({ }), 88-89
example, 86-87
namespaces, 646
parentheses, 78
.Net platform, 785
new operator, 279
new statement, 234
new( ) function, 694
newline delimiter, 434
newline escape characters
(\n), 28-29, 58
newsgroups, 785
nodes, 875, 885
nonexistent objects,
referencing, 281, 283
nontemplate friends,
670-674
nonzero values, 96
not equal operator (!=), 80
NOT operator (!), 92
notation, Hungarian, 49
null character, 432, 601
null pointers, 224, 248, 262
null references, 262
null statement, 191-193
numbers
base 7, 809
base 8, 808-809
base 10, 808
converting to base 6,
810
converting to base 7,
809-810
binary, 811-812
counting, 183-184
Fibonacci series, 124-128,
196-198
hexadecimal, 813-816
negative numbers, 96
nonzero values, 96
nybbles, 812
O
object files, 15
object-oriented design
classes, 350
CRC cards, 354-357
data manipulation, 353
device protocols, 354
dynamic model,
363-366
object-oriented design 901
How can we make this index more useful? Email us at [email protected]
34 0672327112 index.qxd 11/19/04 12:31 PM Page 901