0_0_21600612_12512.cpp:22:21: error: stray '#' in program
if(ch=='Q') cout<<q.top()<<endl;
^
0_0_21600612_12512.cpp:22:27: error: stray '#' in program
if(ch=='Q') cout<<q.top()<<endl;
^
0_0_21600612_12512.cpp:23:26: error: stray '#' in program
else if(ch=='I')
^
0_0_21600612_12512.cpp:23:32: error: stray '#' in program
else if(ch=='I')
^
0_0_21600612_12512.cpp: In function 'int main()':
0_0_21600612_12512.cpp:22:22: error: lvalue required as unary '&' operand
if(ch=='Q') cout<<q.top()<<endl;
^
0_0_21600612_12512.cpp:22:24: error: expected ')' before ';' token
if(ch=='Q') cout<<q.top()<<endl;
^
0_0_21600612_12512.cpp:22:25: error: 'Q' was not declared in this scope
if(ch=='Q') cout<<q.top()<<endl;
^
0_0_21600612_12512.cpp:22:31: error: expected primary-expression before ')' token
if(ch=='Q') cout<<q.top()<<endl;
^
0_0_21600612_12512.cpp:23:13: error: 'else' without a previous 'if'
else if(ch=='I')
^
0_0_21600612_12512.cpp:23:27: error: lvalue required as unary '&' operand
else if(ch=='I')
^
0_0_21600612_12512.cpp:23:29: error: expected ')' before ';' token
else if(ch=='I')
^
0_0_21600612_12512.cpp:23:30: error: 'I' was not declared in this scope
else if(ch=='I')
^
0_0_21600612_12512.cpp:23:36: error: expected primary-expression before ')' token
else if(ch=='I')
^
|