•The list class implements a list datastructure. To use the list, the header file list must be included:
• #include <list>
•
•
•
•
•
•list<string>
target;
•list<string>::iterator
from;
•for
(from = target.begin(); from != target.end(); ++from) cout << *from
<< " ";
•cout
<< endl;
•target.sort();
•