Sams Teach Yourself C in 21 Days

(singke) #1
members
structures
accessing, 251-252
pointers as, 266-268
unions, 276
accessing, 276-277
memcyp() function, 580
memmove() function, 580
memory, 42, 565. See also type conversions
address, 196
allocating, 570
arrays of pointers, 398
calloc() function, 574-575
free() function, 577, 579
malloc() function, 571, 573
realloc() function, 575, 577
allocation for strings, 229
at compilation, 230
malloc() function, 230-235
arrays, 177
maximum size, 188
classes, destructors, 684
determining availability, 571
dynamic allocation, 230
file buffers, 456
linked lists
deleting elements, 422
freeing memory, 431
manipulating blocks, 579-580
multidimensional arrays, 181
numeric variables, 44-48
pointers, 198-200
arithmetic operations, 209-210
array element storage, 203-205
array names as, 202-203
comparisons, 209
creating, 196-197
dangers of uninitialized, 210-211
data types, 201-202
declaring, 197-198

decrementing, 207-208
differencing, 209
incrementing, 206
initializing, 198
passing arrays to functions, 211-216
structure members, 268
register variables, 295
writing to binary-mode files, 452
memory allocation, copying strings, automat-
ic allocation, 486
memset() function, 579
menu systems, executing with switch state-
ments, 324
menu() function, 320
menus, structured programming, 105
messages
coding/decoding, 305, 308
displaying on screen, 148
method overloading, 634
methods
Java, 755
Java classes, 727-728
overloaded, 731
overloading, 731-732
sample program, 728, 730
readLine, 745
MethodsDemo.java program, 729-730
military time, 539
minimum/maximum values
data types, 803-809
mktime() function, 539
mode, values, 442
modf() function, 536
modular independence, external variables,
289
modular programming, 593-596
.obj files, 599
components, 597
external variables, 598
make utility, 600

modular programming 917

How can we make this index more useful? Email us at [email protected]

51 448201x-Index 8/13/02 11:23 AM Page 917

Free download pdf