C File I/O
- File I/O allows you to manipulate both text and binary file
- All file I/O functions are declared in stdio.h
- All file I/O functions takes a file pointer, FILE*, which can be obtained when you open a file
- C provides you a few special file pointers which points to
- standard input (stdin)
- standard output (stdout)
- standard error (stderr)
- Of which can be used in file I/O functions
- (just pass them as if they are normal file pointers)
|
Facebook