CS 1337 Lecture Notes - Lecture 17: Standard Template Library, Multimap, Include Directive

13 views3 pages

Document Summary

* -an extensive library of generic templates for classes and functions. * -2 categories of containers array for some operations (e. g. , locate an element) * -object that works a lot like a pointer. * -another way to access data in stl containers. * -five categories of iterators: element devices container adapter classes. Multimap sequence containers - stores data sequentially in memory, something like an associative containers - store data in nonsequential ways to make it faster. All stl containers have a member function called begin() that points to the. Another member function end(), points to one past the last element. To define an iterator, you must know the type of container. + # or - # devices container"s first element. * if so it is a mutable iterator. * constant iterator provides read only access to the element. * -allow you to iterate backward over the elements. * -it"s the last element of the container.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents