Zainicjuj iterator wektorowy za pomocą funkcji end ()

// iter points to the last element of num
iter = num.end() - 1;
Outrageous Ostrich