Sams Teach Yourself C in 21 Days

(singke) #1
structures, 250
accessing members, 251-252
arrays of, 260-263
accessing members by pointers, 271
pointers to, 270-273
bit fields, 586-587
declaring, 250-251
defining, 250-251
do...while loops, 139
FILE, 442
for statements, 125
initializing, 263-266
members
arrays, 257-259
pointers, 266-268
nesting, 254-257
of arrays, 257-259
of structures, 254-257
passing as function argument, 273-275
passing to functions, 273-275
pointers as members, 266-268
pointers to, 268-270
pointers to arrays of, 270-273
portability, 815
reading/writing, 816
word alignment, 815-816
struct keyword, 253-254
synonyms with typedef, 281
time, 537
typedef keyword, 281
versus classes, 683
while statements, 133
strupr() function, 501
subclasses, 690
constructors, 695-696
subscript notation (arrays)
compared to pointers, 211
subscripts, 124, 176
multidimensional arrays, 180
substitution macros, #define directive, 601

subtraction operator (-), 67
superclasses, 736-738
switch statements, 321-329
break statements, including, 322-324
menu systems, executing, 324
symbolic character constants, 225
symbolic constants, 52, 601. See alsomacros,
601
#define directive, 53
conditional compilation, 607
declaring arrays, 181
defining, 53
defining with const keyword, 53, 55
EOF, 451
errno.h, 546
external variables, 289
substitution macros, 601
syntax, functions, calling, 101-102
system, pausing, 333
system() function, 330-332
System.out class (Java), 644

T

\t tab escape character, 152
tab escape character (\t), 152
tags, APPLET, 760
tan() function, 534
tanh() function, 535
target labels, goto statement, 314
tasks and subtasks, structured programming,
103
templates, unions, 278
temporary files, 470-471
terminating null character, strncat() function,
489
terminating programs, 329-330
ternary operator, 86

ternary operator 927

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

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

Free download pdf