I saw that code in a book. This got to be a typepo right? Becuuse list::end() or list::begin() don't take any argument.Code:typedef pair<int,int> IntegerPair; typedef list<IntegerPair> VertexList; int u; for (VertexList::const_iterator ci = graph.begin(u); ci != graph.end(u); ++ci)