Assignment:
Extend your
lab17A.cpp code in a new file named
lab17B.cpp, by adding the following
code:
cout << "\n\n---------------------- Printing out the contents in the ordered entered using iterators ----------------------\n\n";
cout << "---------------------- STL vector ----------------------\n";
cout << "---------------------- STL array ----------------------\n";
cout << "---------------------- STL list ----------------------\n";
cout << "---------------------- STL forward_list ----------------------\n";
cout << "---------------------- STL deque ----------------------\n";
cout << "---------------------- STL stack ----------------------\n";
cout << "---------------------- STL queue ----------------------\n";
cout << "---------------------- STL priority_queue ----------------------\n";
cout << "\n---------------------- Determine the unique elements in the vector (using STL algorithms) and print them out ----------------------\n\n";
cout << "There are a total of " << << " unique integers:\n";
Submission
Submit your source code using the
handin program. For
handin, for this lab, type the following in a terminal window exactly as it appears:
handin lab17B lab17B.cpp
To verify your submission, type the following in a terminal window:
handin lab17B