#include <vector>
#include <iostream>
#include <fstream.h> // для использования чтения и записи в файл
using namespace std;
int main()
{
vector<int> t;
ifstream f("file.txt"); // file надо создать , или ofstream
f >> t;
for(int i = 0; i < t; ++i)
cout << t[i] ;
system("PAUSE");
return 0;
}