0_0_21591424_23886.cpp:32:18: error: stray '#' in program
if(str[i] == 'I'){
^
0_0_21591424_23886.cpp:32:24: error: stray '#' in program
if(str[i] == 'I'){
^
0_0_21591424_23886.cpp:37:23: error: stray '#' in program
else if(str[i] == 'D'){
^
0_0_21591424_23886.cpp:37:29: error: stray '#' in program
else if(str[i] == 'D'){
^
0_0_21591424_23886.cpp: In function 'int main()':
0_0_21591424_23886.cpp:32:19: error: lvalue required as unary '&' operand
if(str[i] == 'I'){
^
0_0_21591424_23886.cpp:32:21: error: expected ')' before ';' token
if(str[i] == 'I'){
^
0_0_21591424_23886.cpp:32:22: error: 'I' was not declared in this scope
if(str[i] == 'I'){
^
0_0_21591424_23886.cpp:32:28: error: expected primary-expression before ')' token
if(str[i] == 'I'){
^
0_0_21591424_23886.cpp:37:4: error: 'else' without a previous 'if'
else if(str[i] == 'D'){
^
0_0_21591424_23886.cpp:37:24: error: lvalue required as unary '&' operand
else if(str[i] == 'D'){
^
0_0_21591424_23886.cpp:37:26: error: expected ')' before ';' token
else if(str[i] == 'D'){
^
0_0_21591424_23886.cpp:37:27: error: 'D' was not declared in this scope
else if(str[i] == 'D'){
^
0_0_21591424_23886.cpp:37:33: error: expected primary-expression before ')' token
else if(str[i] == 'D'){
^
0_0_21591424_23886.cpp:42:4: error: 'else' without a previous 'if'
else{
^
|