// fileInput1.cc
#include <iostream>
#include <string>
#include <fstream>

using namespace std;

int main()
{
   ifstream fileInput;
   string line;
   
   fileInput.open("testInput1.txt");
   
   if (fileInput.is_open())
   {
      cout << "The file contains: \n";
      
      while (getline(fileInput, line))
         cout << line << endl;
   } // end while
   else
   {
      cout << "ERROR: Could not open file" << endl;
      return 1;
   }
   
   fileInput.close();
   return 0;
}