:: :: 博问 :: 闪存 :: :: 联系 :: :: 管理 ::

 

std::vector<int> IntTest;

    
for (int i = 0; i < 10++i)
    {
        IntTest.push_back(i);
    }

    
for (std::vector<int>::iterator iter = IntTest.begin(); iter != IntTest.end(); ++iter)
    {
        std::cout 
<< *iter << std::endl;
    }
posted on 2006-03-25 12:03  dtor  阅读(11559)  评论(1编辑  收藏  举报