设为首页 加入收藏

TOP

C++ vector MSDN简单入门解释(一)
2012-12-02 23:00:10 】 浏览:1540
Tags:  vector  MSDN 简单 入门 解释

    // VectorTest.cpp : 定义控制台应用程序的入口点.
    //
    #include “stdafx.h”
    // Empty.cpp
    // compile with: /EHsc
    // Illustrates the vector::empty and vector::erase functions.
    // Also demonstrates the vector::push_back function.
    //
    // Functions:
    //
    //    vector::empty - Returns true if vector has no elements.
    //
    //    vector::erase - Deletes elements from a vector (single & range).
    //
    //    vector::begin - Returns an iterator to start traversal of the
    //                    vector.
    //
    //    vector::end - Returns an iterator for the last element of the
    //                  vector.
    //
    //    vector::push_back - Appends (inserts) an element to the end of a
    //                        vector, allocating memory for it if necessary.
    //
    //    vector::iterator - Traverses the vector.
    //
    //////////////////////////////////////////////////////////////////////

   

首页 上一页 1 2 3 下一页 尾页 1/3/3
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇C++ 连接Oracle 下一篇C++中调用R Language的类库

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目