本文介绍了C++ 容器的一般用例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!
问题描述
它可以从 nolyc 获得,它是 Freenode 上 ##C++ 的信息机器人,使用命令容器选择"或容器选择".您在回复中收到的此图片链接位于 adrinael.net,这表明我们应该感谢 Freenode 的 ##C++ 社区成员 Adrinael.
What are the general use cases for the C++ standard library containers?
- bitset
- deque
- list
- map
- multimap
- multiset
- priority_queue
- queue
- set
- stack
- vector
For example, a map is generally better for a paired search.
解决方案
A picture is worth a thousand words.
It's available from nolyc, the informative bot of ##C++ on Freenode, using the command "container choice" or "containerchoice". The link to this picture you receive in response is hosted at adrinael.net, which suggests we should thank Adrinael, member of Freenode's ##C++ community.
这篇关于C++ 容器的一般用例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!
本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!