主页
C++
C++ 双端队列
demo_deque_loop
运行 ❯
×
更改方向
保存代码
更改主题
#include
#include
using namespace std; int main() { deque
cars = {"Volvo", "BMW", "Ford", "Mazda"}; for (int i = 0; i < cars.size(); i++) { cout << cars[i] << "\n"; } return 0; }
Volvo
BMW
Ford
Mazda