DMP - Chapter 12
File I/O
What is a file?
The text view and the binary view
Standard I/O (stdin,
stdout, stderr)
- fopen(): "r", "w", "a", +, b
- getc() & putc()
- fclose() & flush()
- fprintf() & fscanf()
- fgets() & fputs()
- fseek() & ftell(): SEEK_SET, SEEK_CUR, SEEK_END
- fread() & fwrite()
- feof() & ferror()