filenames, disk streaming, 440
FileReader class, 745
files
closing, 455
copying, 467, 470
deleting, 465-466
disk streaming, 439
direct file I/O, 452
EOF, 463-465
fgets() function, 450
file buffering, 455-457
file types, 440
filenames, 440
formatted file input, 448
formatted file output, 446-448
fputc() function, 451
fread() function, 455
fread() function, 453-455
fwrite() function, 452
getc/fgetc functions, 450
opening files, 441-445
putc() function, 451
sequential versus random access, 457-460,
463
writing/reading, 445
flushing, 455
position indicator, sequential access, 457
renaming, 466-467
standard input/output files, 339-340
streams, 339
temporary, 470-471
text
reading, 745-746
writing, 747-749
FileWriter class, 747
Final keyword, 724
flags
printf() function, 364
viewing macro expansion, 605float type
conversion by assignment, 567
pointers, 201
type promotion, 567
float.h header file, constants, 805-806
floating-point constants, 51
floor function, 536
FlowLayout layout manager, 754
flushall() function, 456
flushing
files, 455
stream buffers, 456
fmod() function, 536
fopen() function, 442-443
for loop, 125-127, 310. See alsolooping
for statements, 125-130
arrays, 124
nesting, 131-132
structure, 125
format specifiers, literal text, 153
format strings, 148
formatted file input, 446-449
formatted file output, 446-448
formatted input functions, 350-358
fflush() function, 355-356
scanf() function, 350-352, 356-358
conversion specifiers, 350-352
handling extra characters, 352-355
precision modifiers, 352
formatted output, text-mode files, 445
formatted output functions, 361-368
fprintf() function, 361-363
printf() function, 361-368
escape sequences, 365
field-width specifier, 364
flags, 364
l modifier, 363
precision specifier, 364
formatted strings, converting times to, 539904 filenames51 448201x-Index 8/13/02 11:23 AM Page 904