【C++ 学习笔记】 Vector

很久没写C++的程序了,都忘光了,还是记下,以后如果用得着。

Vector

遍历:

for(std::vector<CString>::iterator p_condition = conditions.begin(); p_condition != conditions.end(); p_condition++)
{
cout<<*p_condition<<endl;
}



posted @ 2012-01-29 15:25  小卡的土豆园  阅读(183)  评论(0编辑  收藏  举报