#include using namespace Upp; CONSOLE_APP_MAIN { Vector v; v.Add(1); v.Add(2); v.Add(3); for(int i = 0; i < v.GetCount(); i++) LOG(v[i]); LOG("..and now iterators.."); for(Vector::Iterator q = v.Begin(), e = v.End(); q != e; q++) LOG(*q); }