how go thru a list in c code example
Example: c++ iterate through constant list
const list<int> numbers;
for(list<int>::const_iterator it = numbers.begin(); it != numbers.end(); it++)
cout << *it << endl;
const list<int> numbers;
for(list<int>::const_iterator it = numbers.begin(); it != numbers.end(); it++)
cout << *it << endl;