Declare an iterator and use it to parse a vector. code example Example: declaring iterator in cpp vector<int>::iterator ptr;