0_0_24644165_30130.cpp: In function 'void write(char*, char*)':
0_0_24644165_30130.cpp:15:11: error: 'cup1' was not declared in this scope
++cup1;
^
0_0_24644165_30130.cpp:16:11: error: 'cup2' was not declared in this scope
++cup2;
^
0_0_24644165_30130.cpp: In function 'int main()':
0_0_24644165_30130.cpp:29:38: error: invalid conversion from 'char' to 'char*' [-fpermissive]
if(judge(cup1,color[q])){
^
0_0_24644165_30130.cpp:4:6: note: initializing argument 2 of 'bool judge(char*, char*)'
bool judge(char *_cup1,char *_cup2){
^
0_0_24644165_30130.cpp:35:33: error: invalid conversion from 'char' to 'char*' [-fpermissive]
write(color[coun],cup1);
^
0_0_24644165_30130.cpp:12:6: note: initializing argument 1 of 'void write(char*, char*)'
void write(char *_cup1,char *_cup2){
^
0_0_24644165_30130.cpp:38:9: error: 'i' was not declared in this scope
for(i=1;i<coun;i++){
^
|