Lesson 03: Basic I/O Function

Input and output are the basic elements of the program. The computer needs to input the data, processing the data, then output the results. The basic input and output are keyboard and screen: read data from the keyboard, and print the results on the screen. This lesson describes the basic input and output functions in C and C++. Lesson 16 will introduce input and output functions for file access.