摘要: 在C++中,vector<int>是一个动态数组,可以存储整数类型的元素。locationVec是一个vector<int>类型的对象。 locationVec.at(i)和locationVec[i]都用于访问locationVec中的元素,但它们有一些区别。 locationVec.at(i): 阅读全文
posted @ 2023-08-04 10:13 赋流 阅读(6) 评论(0) 推荐(0) 编辑