First page Back Continue Last page Graphics
File Modes
in – opens for reading
out – opens for writing
ate – seek to end-of-file upon opening
app – append to end-of-file
trunc – truncate file if it exists
binary – binary file
Refer to table 17.9 for guidelines.
Comparison between ascii (character files) and binary files. Example : Prata binary.cpp