0_0_32823583_15493.cpp:133:13: error: missing terminating " character
cout<<"id="";
^
0_0_32823583_15493.cpp:137:13: error: missing terminating " character
cout<<""";
^
0_0_32823583_15493.cpp:143:13: error: missing terminating " character
cout<<"class="";
^
0_0_32823583_15493.cpp:147:13: error: missing terminating " character
cout<<""";
^
0_0_32823583_15493.cpp: In function 'void print(int, int)':
0_0_32823583_15493.cpp:26:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(S[i] == ">")
^
0_0_32823583_15493.cpp:32:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(S[u] == "(")
^
0_0_32823583_15493.cpp:37:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(S[i] == ")" && cnt == 1) break;
^
0_0_32823583_15493.cpp:38:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
else if(S[i] == ")") cnt--;
^
0_0_32823583_15493.cpp:39:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
else if(S[i] == "(") cnt++;
^
0_0_32823583_15493.cpp:55:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(S[i] != "#" && S[i] != "*" && S[i] != "." && S[i] != "(")
^
0_0_32823583_15493.cpp:55:35: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(S[i] != "#" && S[i] != "*" && S[i] != "." && S[i] != "(")
^
0_0_32823583_15493.cpp:55:50: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(S[i] != "#" && S[i] != "*" && S[i] != "." && S[i] != "(")
^
0_0_32823583_15493.cpp:55:65: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(S[i] != "#" && S[i] != "*" && S[i] != "." && S[i] != "(")
^
0_0_32823583_15493.cpp:62:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
else if(S[i] == "#") // 0:div 1:id 2:class 3:multi
^
0_0_32823583_15493.cpp:76:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
else if(S[i] == ".")
^
0_0_32823583_15493.cpp:90:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
else if(S[i] == "*")
^
0_0_32823583_15493.cpp:105:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
else if(S[i] == "(")
^
0_0_32823583_15493.cpp:111:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(S[now] == ")" && cnt == 1) break;
^
0_0_32823583_15493.cpp:112:35: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
else if(S[now] == ")") cnt--;
^
0_0_32823583_15493.cpp:113:35: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
else if(S[now] == "(") cnt++;
^
0_0_32823583_15493.cpp:134:13: error: expected ';' before 'cout'
cout<<id[0];
^
0_0_32823583_15493.cpp:138:9: error: expected ';' before '}' token
}
^
0_0_32823583_15493.cpp:144:13: error: expected ';' before 'cout'
cout<<cls[0];
^
0_0_32823583_15493.cpp:148:9: error: expected ';' before '}' token
}
^
|