im studiying basics of c++. i want to display a .txt file of ANSI form through C++,but it only displays 25 lines; what to do to display large text files like 100 lines long?
the code i use now is :
char c[15];
ifstream f("file.txt",ios::in);
f.seekg(0);
while(!f.eof())
{f>>c;
cout<<c;
}
getch();
f.close();