0_0_29282999_7449.cpp:3:2: error: 'vector' does not name a type
vector<int>::const_iterator iter;//迭代器
^
0_0_29282999_7449.cpp:4:2: error: 'vector' does not name a type
vector<int> data; //数据vector
^
0_0_29282999_7449.cpp:5:2: error: 'vector' does not name a type
vector<int> tempdata;//临时vector
^
0_0_29282999_7449.cpp:7:2: error: 'cout' does not name a type
cout << "输入数据:"<<endl;
^
0_0_29282999_7449.cpp:8:2: error: expected unqualified-id before 'while'
while (cin>>input&&input!=0) //输入个数,当不为0的时候
^
|