0_0_35616178_29353.cpp: In function 'int main()':
0_0_35616178_29353.cpp:5:2: error: 'string' was not declared in this scope
string b;
^
0_0_35616178_29353.cpp:8:3: error: 'map' was not declared in this scope
map<string,int> mp;
^
0_0_35616178_29353.cpp:8:14: error: expected primary-expression before 'int'
map<string,int> mp;
^
0_0_35616178_29353.cpp:9:14: error: expected primary-expression before 'int'
map<string,int>::iterator it;
^
0_0_35616178_29353.cpp:10:25: error: expected primary-expression before 'int'
map<string,map<string,int> > hash;
^
0_0_35616178_29353.cpp:11:25: error: expected primary-expression before 'int'
map<string,map<string,int> >::iterator p;
^
0_0_35616178_29353.cpp:12:3: error: 'mp' was not declared in this scope
mp.clear();
^
0_0_35616178_29353.cpp:13:3: error: 'hash' was not declared in this scope
hash.clear();
^
0_0_35616178_29353.cpp:19:8: error: 'p' was not declared in this scope
for (p=hash.begin();p!=hash.end();p++) {
^
0_0_35616178_29353.cpp:20:4: error: 'cout' was not declared in this scope
cout<<p->first<<endl;
^
0_0_35616178_29353.cpp:20:20: error: 'endl' was not declared in this scope
cout<<p->first<<endl;
^
0_0_35616178_29353.cpp:22:9: error: 'it' was not declared in this scope
for (it=mp.begin();it!=mp.end();it++) {
^
0_0_35616178_29353.cpp:26:11: error: 'cout' was not declared in this scope
if(T!=0)cout<<endl;
^
0_0_35616178_29353.cpp:26:17: error: 'endl' was not declared in this scope
if(T!=0)cout<<endl;
^
|