-
text
Can anybody give me an advice or function how to make a program that reads at the beginning the first line of a *.txt file, then if you push something the second and so on and so on.....
thanx in advance
------------------------------------------
getch(); but how to make the other functions
-
ifstream fin(filenameHere);
char dummy[256];
char ch;
fin.getline(dummy, 256);
while(fin)
{
cout << dummy;
cout << "enter any key and press the enter key to get the next line" << endl;
cin >> ch;
fin.getline(dummy, 256);
}