Question 6: Which of the following are container adapters in the STL (Standard Template Library) in C++?
来源:互联网 发布:java 常量类初始化map 编辑:程序博客网 时间:2024/06/06 05:06
A. list
B. map
C. stack
D. queue
E. deque
顺序性容器vector从后面快速的插入与删除,直接访问任何元素deque从前面或后面快速的插入与删除,直接访问任何元素list双链表,从任何地方快速插入与删除关联容器set快速查找,不允许重复值multiset快速查找,允许重复值map一对多映射,基于关键字快速查找,不允许重复值multimap一对多映射,基于关键字快速查找,允许重复值容器适配器stack后进先出queue先进先出priority_queue最高优先级元素总是第一个出列
C D
- Question 6: Which of the following are container adapters in the STL (Standard Template Library) in C++?
- Question 41: Which of the following operators must be overloaded by function objects in the Standard Template Library?
- Question 37: In C++, which of the following statements regarding the code below are valid?
- Question 19: Which of the following are not pre-processor directives in C++?
- Question 11: Which of the following statements describe the result when standard new cannot allocate the requested storage in C+
- (NOT CLEAR)Question 45: Which of the following options are returned by the typeid operator in C++?
- Question 36: Which of the following statements regarding functions' default arguments in C++ are correct?
- Question 4: Which of the following statements correctly describe the code below in C++?
- Question 28: Which of the following statements accurately describe the new[] operator in C++?
- Question 43: Which of the following define valid string constants in C++?
- Question 9: Which of the following statements correctly describe the results of executing the code below in C++?
- Question 15: Which of the following statements describe the results of executing the code snippet below in C++?
- Question 13: Which of the following declarations of function main are standard or standard conforming extensions? (Please note t
- Question 16: Which of the following methods can a developer use to override the default terminate() function in C++?
- Question 17: Which of the following identify const-correctness failures in the C++ program below?
- Question 27: Which of the following reasons describe why a destructor cannot throw an exception in C++?
- Question 48: In C++, which of the following statements accurately describe a base class destructor calling a virtual function ov
- Question 8: In which of the following scenarios is a Copy Constructor called or invoked?
- Ansi、Unicode、UTF8字符串之间的转换和写入文本文件
- SVN应用
- Delphi 窗体居中显示
- Fedora 下 crontab 操作
- hello驱动问题
- Question 6: Which of the following are container adapters in the STL (Standard Template Library) in C++?
- js 文件读取
- 屏蔽TEXT标签的响应事件
- 循环和continue,break的那点事
- extern及extern “C”含义和用法原理
- 用MFC ActiveX Control Wizard生成的OCX控件
- jQuery_01
- 使用impdp导入时忽略存储参数
- nfs根文件系统的构建1