In this short set of lessons you will learn how to use an iterator to access objects that are stored in a list. This set of lessons will step you through the process of defining the class needed for the list payload. It will then demonstrate how to create a list object that will store the objects that will be instantiated within the program. Next, the lesson's objective is demonstrated by declaring an iterator and by using it within the scope of the list in the function where it was declared. Finally, the lesson will demonstrate ho to use an iterator if the list is passed by reference to another function.
In this section you will utilize iterators in the context of a mini project that uses vectors, sets and maps.