0_0_18725726_30693.cpp: In function 'int main(int, char**)':
0_0_18725726_30693.cpp:9:5: error: 'else' without a previous 'if'
else
^
0_0_18725726_30693.cpp:10:15: error: 'a' was not declared in this scope
if(strcmp(a,"END")==0)cout<<b<<endl;
^
0_0_18725726_30693.cpp:10:33: error: 'b' was not declared in this scope
if(strcmp(a,"END")==0)cout<<b<<endl;
^
0_0_18725726_30693.cpp:12:34: error: break statement not within loop or switch
if(strcmp(a,"ENDOFINPUT")==0)break;
^
0_0_18725726_30693.cpp:21:16: error: 'b' was not declared in this scope
b[i]=(a[i]-5);
^
0_0_18725726_30693.cpp:23:16: error: 'b' was not declared in this scope
b[i]=a[i]+21;
^
0_0_18725726_30693.cpp:26:15: error: 'b' was not declared in this scope
b[i]=a[i];
^
0_0_18725726_30693.cpp: At global scope:
0_0_18725726_30693.cpp:33:5: error: expected unqualified-id before 'return'
return EXIT_SUCCESS;
^
0_0_18725726_30693.cpp:34:1: error: expected declaration before '}' token
}
^
|