hi everyone,
I have been at this for a while now and i do not understand why it will not loop into the second for loop.
void printList(const dlist< dlist<row> > &myList, const dlist<row> &myRow)
{
cout << '\n';
for (dlistConstIter< dlist<row> > itr = myList.begin(); itr != myList.end(); itr++) {
cout << "in first for loop\n";
for (dlistConstIter<row> iitr = myRow.begin(); iitr != myRow.begin(); iitr++){
cout << "in second for loop\n";
iitr->printMaze();
}
}
cout << '\n';
}
this is the output im getting
in first for loop
in first for loop
in first for loop
in first for loop
in first for loop
in first for loop
anyone have any ideas.
nevermind figured out my noob mistake......