#include #include using namespace std; int main() { vector tbl(10); for (unsigned k = 0; k < 10; k++) tbl[k] = k * k; vector::iterator pos; for (pos = tbl.begin(); pos != tbl.end(); pos++) cout << *pos << endl; }