which operation can called iterator

I'm sorry I'm new to programming & cpp
If you mean "Which operator can increment a value?", then it would be "++". For example:

1
2
int x = 1;
x++;

x = 2
ThankU,but I want to know iterator
1
2
3
4
5
6
7
int i = 0;

//what happen down here is iteration
while (i < 100) {
	cout << "line : " << i << endl;
	++i //iterator
}


CMIIW
Topic archived. No new replies allowed.