Sams Teach Yourself C in 21 Days

(singke) #1
while, 133-136
nesting, 136-138
structure, 133
white space, 60
static keyword, 291, 294
static memory allocation, 570
strings, 230
static variables, 291-294
stdarg.h, multi-argument functions, 523
stdaux stream, 340
__STDC__ constant, 817
stderr stream, 340
fprintf() function, 370-371
stdin stream, 340
STDIO.H
EOF, 451
fopen() function, 442
stdio.h
fseek() function, 460
perror() function, 547
rename() function, 466
rewind() function, 458
stdio.h header, 151
puts() function, 236
stdlib.h
bsearch() function, 549
dynamic memory functions, 570
stdlib.h header, multidimensional arrays, 187
stdout stream, 340
stdprn stream, 340, 371
storage classes
automatic, 297
choosing between, 296
variable, 296
strcat() function, 487
strchr() function, 495
strcmp() function, 491
strcpy() function, 483
arrays of pointers, 404
arrays of structures, 261

strcspn() function, 496
strdup() function, 486
streaming disk files, 439
character input,450
character output, 451
copying files, 467, 470
deleting files, 465-466
direct file I/O
fread() function, 453-455
fwrite() function, 452
EOF (end of file), 463-465
file buffering, 455-457
file types, 440
filenames, 440
formatted file input, 448
formatted file output, 446-448
opening files, 441-445
renaming files, 466-467
sequential versus random access, 457
fseek() function, 460, 463
ftell()/rewind() functions, 458-460
temporary files, 470-471
writing/reading, 445
streams, 338-339
binary streams, 339
equivalence of streams, 341
files, 339
input/output functions, 340-341
predefined streams, 339-340
stdaux, 340
stderr, 340
fprintf() function, 370-371
stdin, 340
stdout, 340
stdprn, 340, 371
text, 440
text streams, 339
text-mode streams, 339
types of, 340

streams 925

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

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

Free download pdf