W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
#include
#include
using namespace std; int main() { vector
cars = {"Volvo", "BMW", "Ford", "Tesla"}; // 修改第一个元素的值 cars.at(0) = "Opel"; cout << cars.at(0); return 0; }