主页
C++
C++ 双端队列
demo_deque_change2
运行 ❯
×
更改方向
保存代码
更改主题
#include
#include
using namespace std; int main() { deque
cars = {"Volvo", "BMW", "Ford", "Mazda"}; // Change the value of the first element cars.at(0) = "Opel"; cout << cars.at(0); return 0; }
Opel