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.
Who this course is for:
- Intermediate programming students
- Intermediate C++ Students
- Students taking data structures in college
- aspiring programmers
- C++ developpers
- Object Oriented Programming in C++
- Basic data structure in C++