Morgan Stanley C++ Homework #3

Your assignment this week does not require you to write a class. You must write a program that displays the content of a file, like the cat utility does.

You should use the ifstream class in this assignment. In this class, you will find the open and getline functions. As an alternative to getline, you can also use the operator>> with a string.

Refer to the class booklet for additional information on the fstream class and how to do file I/O.