摘要:
map容器是STL中比较强大的一个container,下面的代码主要讲的是map容器中find函数的用法,代码取自:http://www.cplusplus.com/reference/map/map/find/// map::find#include #include int main (){ std::map mymap; std::map::iterator it; mymap['a']=50; mymap['b']=100; mymap['c']=150; mymap['d']=200; it=mymap.find( 阅读全文
posted @ 2013-09-10 00:47
JasonScor
阅读(5662)
评论(0)
推荐(0)
浙公网安备 33010602011771号