You will learn about the following in this chapter:
More about input, output, and the differences between buffered and unbuffered input
How to simulate the end-of-file condition from the keyboard
How to use redirection to connect your programs to files
Making the user interface friendlier
In the computing world, we use the words input and output in several ways. We speak of input and output devices, such as keyboards, disk drives, and laser printers. We talk about the data used for input and output. We discuss the functions that perform input and output. This chapter concentrates on the functions used for input and output (I/O, for short).
I/O functions transport information to and from your ...