- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
void openfile(string s) // считывание файла
{
ifstream fin (s.c_str());
string str;
int k=0;
do
{
getline(fin,str);
cout << str << endl;
k++;
if (k>=20) { getch(); system("cls"); k=0;}
} while(!fin.eof());
getch();
system("cls");
}