首页 > 编程语言 > 详细

C++常用语法

时间:2014-01-14 19:42:11      阅读:636      评论:0      收藏:0      [点我收藏+]
unordered_map<int, Node*> mp;
if (mp.find(key) == mp.end())
unordered_map<int, Node*>::iterator it = mp.find(deltmp->key);
mp.erase(it);
mp.clear();
map[k]++ //也覆盖了一开始count为0的情况
for (unordered_map<float, int>::iterator it = mp.begin(); it != mp.end(); it++) {
 
 
int result = num_stack.top();
num_stack.pop();
 
#define pp pair<int, char>
priority_queue<pp, vector<pp>, greater<pp> > que;
 
set<char> visit;
if (visit.count(node) != 0) continue;
visit.insert(node);

  

C++常用语法

原文:http://www.cnblogs.com/lautsie/p/3512702.html

(1)
(1)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!