Next: Formatted Input Output Up: Input and Output Previous: Input and Output

Character Input and Output with Files

This is done using equivalents of getchar and putchar which are called getc and putc. Each takes an extra argument, which identifies the file pointer to be used for input or output.


craa27@strath.ac.uk
Tue Jan 17 11:40:37 GMT 1995