2024年8月20日

C++基础用法

摘要: 容器 vector 定义 #include <vector> using namespace std; vector<type> name; //type为数据类型,如int,string等,name为vector标识 访问 通过下标访问 通过迭代器访问 vector<type>::iterator 阅读全文
posted @ 2024-08-20 17:50 未连接到互联网 阅读(2) 评论(0) 推荐(0) 编辑