Chapter Six The List Container
Vector vs. List - Lists provide more flexible methods for adding and deleting items.
Application: use different data structures to do bubble sort
Creating a List & Accessing its
Two Ends
Using Iterators to Access Middle
Items of a List
Insert and Erase Operators
Example of inserting user's ten numbers into an ascending order list and display the list.
Exercise of Creating Ascending Order List
Note: You need to practice on Review Exercises and Written Exercises in your textbook by yourself.
Click it and see the application programs on your textbook: