Sams Teach Yourself C in 21 Days

(singke) #1
error-handling functions
assert, 544-546
errno.h header file, 546
perror, 547
errors
compilation, 18-19
initializing arrays, 184
line numbers, 287
linker, 19
uninitialized pointers, dangers of, 210-211
variable scope, 287
escape characters, tab (\t), 152
escape sequences
printf() function, 149-152, 365
puts() function, 156
event handling, AWT, 755
examples.Seelistings
exceptions, 743-745
executables, linking, 13
executing programs
C# programs, 771
controlling, 125
do...while loops, 138-142
do...while statements, 141-142
for statements, 125-130
nesting, 131-132
loops, nesting, 142-143
while statements, 133-136
nesting, 136-138
exit() function, 330
exiting programs, 329-330
exp() function, 534
expenses.c, 178
exponential functions, 534
expressions, 62
complex, 62
condition, 125
increment, 126
initial, 125
type promotion, 566

extended ASCII characters, 226-227
printing, listing, 226
extensions
.C, 11
.o, 13, 599
.obj, 13, 599
compilers, 797
filename extensions, BAK, 332
extern keyword, 289, 598
external variables, 288
creating, 288-290
extern keyword, 289
external static variables, 294
modular programming, 598
scope, 289

F

factorial() function, 118
fclose() function, 455
feof() function, 463
fflush() function, 355-356, 456
fgetc() function, 346, 450
fgets() function, 348-349, 450
field-width specifier, printf() function, 364
file buffering, 455-457
file extensions
.C, 11
.o, 13
.obj, 13, 599
file input types, 445
file management, 465
file output types, 445
__FILE__ constant, 817
__FILE__ macro, 611
FILE structure, 442
file types, disk streaming, 440
filename extensions, BAK, 332

filename extensions 903

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

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

Free download pdf