Пишу простенький пример (из книжки) по работе с контейнерами - получаю какие-то странные ошибки. Я языка-то не знаю, поэтому прошу вас помочь: bash-2.05b$ g++ ./2.cpp In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/backward/iostream.h:31, from 2.cpp:1: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/backward/backward_warnin g.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. 2.cpp: In function `int main()': 2.cpp:6: error: variable `std::ifstream in' has initializer but incomplete type Программа: #include <iostream.h> #include <vector> using namespace std; int main(){ ifstream in ("inpnum.txt"); vector<int> v; int x; while ( in >> x, !in.eof() ) v.push_back(x); for (vector<int>::iterator i = v.begin(); i!=v.end(); ++i) cout << *i << " "; }