O'Reilly logo

C Primer Plus, Fifth Edition by Stephen Prata

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 8CHARACTER INPUT/OUTPUT AND INPUT VALIDATION

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 (or I/O, for short).

I/O functions transport information to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required