#include #include #include using namespace std; int main() { ifstream inFile; string line; int lines; int i; inFile.open("count.dat"); inFile >> lines; inFile.ignore(100,'\n'); for(i=0; i < lines; i++) { getline(inFile, line); cout << "The line is \"" << line << "\"" << endl; } inFile.close(); return 0; }