@Mиxaил
534 / 439 / 37
Регистрация: 10.12.2009
Сообщений: 1,857
|
18.08.2012, 14:03
|
|
tofast, без всяких проверок:
C++ | 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| #include <iostream>
#include <fstream>
int main( int argc, char **argv )
{
std::ifstream in( "input.ini" );
int currentFileNumber;
while ( in >> currentFileNumber )
std::cout << currentFileNumber << std::endl;
in.close();
return 0;
} |
|
1
|