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.


January 1995