vector >::iterator Iter; for (Iter = VVInt.begin(); Iter != VVInt.end(); ++Iter) { cout << *Iter.size () << endl; cout << *Iter.capacity() << endl; } exo5.cxx:59: error: 'class __gnu_cxx::__normal_iterator<::CVInt*, std::vector<::CVInt, std::allocator<::CVInt> > >' has no member named 'size'