std::vector使用总结

Vector   Vector描述的是一个动态数组(dynamic array),并提供了相关操作和接口。   在使用Vector之前,需要引入头文件#include<vector>,在此头文件中,类型vector是一个定义于namespace std内的template: template< class T, class Allocator = std::allocator<T>
相关文章
相关标签/搜索