Uppercase flag, 618
use-case analysis,
336-337
actors, 337
customer roles, 337-339
domain models, 339-341
association, 343
containment, 342-343
generalization, 341
guidelines, 344-346
interaction diagrams,
346-347
packages, 347
scenarios, 343-344
Usenet newsgroups, 785
user-defined classes,
320-321
using keyword, 30-31
using declaration,
650-652
using directive, 648-650
V
\v escape code, 58
v-pointers, 396
v-ptr (virtual function
pointer), 396, 487
v-tables, 396
value, passing by, 109-110,
134, 549-552
values
assigning to variables,
50-52, 143
concatenating, 30
enumerated constants, 61
function return values, 36
multiple
returning with pointers,
268-270
returning with
references, 270-271
passing
by reference, 262-265,
271-274
by value, 263-264
to cout, 29
variable values
assigning, 50-52
defined, 47
variables, 41-42. See also
constants; pointers
assigning, 320-321
char, 43
character encoding, 57
escape characters,
58-59
sizes, 56
counting variables, 195
current values, printing,
769-771
data members, 140
data types, 46, 139
defining, 42-43, 47-50
example, 51-52
floating-point, 46
function pointers, 514
global
example, 110-112
limitations, 112, 134
initializing, 51
integers
long, 53-54
short, 53-54
signed, 45, 55-56
sizes, 43-45
unsigned, 45, 54-55
local, 105-107
example, 106-107
persistence, 233
scope, 107-109
names, 47-48
case-sensitivity, 48
Hungarian notation,
48-49
reserved words,
49-50, 817
scope, 105, 640-641
sizes, 43-46
type definition, 52-53
values
assigning, 50-52, 143
defined, 47
vertical bar (|), 91
vertical tab escape
characters (\v), 58
views, 353
virtual functions, 391-397,
404, 487
copy constructors,
400-403
destructors, 399-400, 488
exceptions, 739-742
linked lists, 804-805
memory costs, 403
multiple, calling, 393-395
pointers, 396, 487
pure, 477-482
slicing, 397-399
v-pointers, 396
v-tables, 396
virtual inheritance, 468-472
declaring, 472
example, 469-471
visibility, 640
vision statements, 335
visualizations, 349
void value, 114
W-Z
warning messages, 22
watch points, 747
watch statements, 787
while (true) loops, 183-184
while loops, 177
break statement, 180-183
compared to do...while
loops, 205
compared to for loops,
205
complex loops, 179-180
continue statement,
180-182
do...while, 186-187
exiting, 180-182
returning to top of,
180-182
simple example,
177-178
910 Uppercase flag
34 0672327112 index.qxd 11/19/04 12:31 PM Page 910