Get a copy of the
readdata.cpp
file by:
- Entering the cp command:
cp /net/data/ftp/pub/class/110/ftp/cpp/io/readdata.cpp readdata.cpp
- or, using your mouse to copy and paste the program into Pico, or
-
using the Hercules command-line ftp program to copy this file
from the CS Department's anonymous ftp site.
The path: pub/class/110/ftp/cpp/io
The file: readdata.cpp
The purpose of the program is to
demonstrate how to INPUT data from the standard input device (the keyboard)
and how to OUTPUT data to the standard output device (screen)
in certain format.