Sample program
The C++ program in Listing 1 illustrates simple standard input from the keyboard.
(Note that this program uses object-oriented syntax as explained in Lesson 110.)