#include <vector>
int main ( )
{
std::vector<int> MyVector ;
// fill it
MyVector.push_back(1) ;
MyVector.push_back(2) ;
MyVector.push_back(3) ;
MyVector.push_back(4) ;
// print it
for ( std::vector<int>::iterator it = MyVector.begin(), end = MyVector.end() ; it != end ; ++it )
std::cout << *it << std::endl ;
return 0 ;
}