C++ Containers Question:
What are the C++ standardized container classes?
Answer:
The following are the standardized container classes:
std::map: Used for handle sparse array or a sparse matrix.
std::vector: Like an array, this standard container class offers additional features such as bunds checking through the at () member function, inserting or removing elements, automatic memory management and throwing exceptions.
std::string: A better supplement for arrays of chars.
std::map: Used for handle sparse array or a sparse matrix.
std::vector: Like an array, this standard container class offers additional features such as bunds checking through the at () member function, inserting or removing elements, automatic memory management and throwing exceptions.
std::string: A better supplement for arrays of chars.
Previous Question | Next Question |
Explain containers of pointer? | Explain different types of iterators, i.e. input_iterator, output_iterator etc? |