初学者自学C++中的容器适配器,请问最后一步为什么会报错,应该怎么改呢?
#include<iostream>
#include<deque>
#include<queue>
using namespace std;
int main() {
int a[]={1,2,3};
queue<deque<int> > aQueue
for(int i=0;i<3;i++
aQueue.push(a[i]) ;
}
第一次发帖,不知道该不该在这发,有问题请大家指出来,谢谢(*°∀°)=3