COM1100 -- Winter2000 -- Yuhong Yin
5
Input & output stream objects
nStream objects are created from stream classes. We have already met two stream objects in this course:
nInput stream object (istream): cin
nOutput stream object (ostream): cout
ncin provides a transmission path from keyboard to a program
ncout provides a transmission path from program to terminal screen.
ncin and cout are defined in iostream.h
n#include <iostream.h>
n