Module 11 · Iterators: The Thing Between a Container and an Algorithm
Full Programs: From a Backwards Playlist to Reading Every Number
Free with an accountReading
Lessons 01 and 02 named every iterator and every operation. This lesson puts them to work on six jobs a working programmer really meets. They run from a playlist played backwards to the shared start of two folder paths, each a little bigger than the last. Each one hands a pair of iterators to a container or to an algorithm, and the rest is done for it. Read the "new thing" line above each program first; it is what that program is for.
Checking what this lesson needs for you…
What is inside Full Programs: From a Backwards Playlist to Reading Every Number
- Program 1: a playlist played backwards
- Program 2: the passing marks, copied into a growing vector
- Program 3: one average for four containers
- Program 4: every number of the input, however many
- Program 5: two sorted lists walked in stepIntermediate
- Program 6: the shared start of two folder pathsIntermediate