0_0_36668207_18738.cpp: In function 'int main()':
0_0_36668207_18738.cpp:40:3: error: 'list' was not declared in this scope
list <int> mylist;
^
0_0_36668207_18738.cpp:40:9: error: expected primary-expression before 'int'
list <int> mylist;
^
0_0_36668207_18738.cpp:41:9: error: expected primary-expression before 'int'
list <int>::iterator it;
^
0_0_36668207_18738.cpp:43:4: error: 'mylist' was not declared in this scope
mylist.push_back(i);
^
0_0_36668207_18738.cpp:45:10: error: 'mylist' was not declared in this scope
while( mylist.size()>3){
^
0_0_36668207_18738.cpp:47:8: error: 'it' was not declared in this scope
for(it=mylist.begin();it!=mylist.end() ; ){
^
0_0_36668207_18738.cpp:56:7: error: 'it' was not declared in this scope
for(it =mylist.begin();it!=mylist.end() ;it++ ){
^
0_0_36668207_18738.cpp:56:11: error: 'mylist' was not declared in this scope
for(it =mylist.begin();it!=mylist.end() ;it++ ){
^
|