The code below is a sub-program of my program. The problem it only reads the first line of the text file, and want it to read it all, I think you have to use the nth -1, but not sure.
Also when viewing the text file, how do I get it just to show a certain amount of lines at a time ( 1 screen full), like DOS?
const char * managerfile = "c:\\mfile.txt";
ifstream managerfile (managerfile, ios::in);
cout << buffer << endl;