1.1 Quick Introduction to Standard Template Library
- What does STL stand for?
Standard Template Library.
- Which two main parts can STL be divided into?
Containers and algorithms .
- What is an array?
A container which stores elements of the same type, and usually those elements occupy a continuous area of memory.
- What are the subcategories that the different containers of STL?
Sequential container, associative container, and container adaptors.
- What is the C++ 's response to the char * problem?
The string library.
1.2 Sequence Containers
- What do sequence containers maintain a certain order to?
The elements inside of them.
- What does a vector always occupy?
A continuous memory block.
- What is an allocator responsible for?
Providing a memory model for the container elements.
- Which constructor is the default constructor?
The first constructor.
- What are defined as a set of operations instead of a certain type?
Iterators.
Next time on open lab, I shall continue with the C++ class.
No comments:
Post a Comment