0_0_23534692_3412.cpp: In function 'int main()':
0_0_23534692_3412.cpp:10:21: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(a,"rat")==0) i=1;
^
0_0_23534692_3412.cpp:11:20: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(a,"ox")==0) i=2;
^
0_0_23534692_3412.cpp:12:23: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(a,"tiger")==0) i=3;
^
0_0_23534692_3412.cpp:13:24: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(a,"rabbit")==0) i=4;
^
0_0_23534692_3412.cpp:14:24: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(a,"dragon")==0) i=5;
^
0_0_23534692_3412.cpp:15:23: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(a,"snake")==0) i=6;
^
0_0_23534692_3412.cpp:16:23: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(a,"horse")==0) i=7;
^
0_0_23534692_3412.cpp:17:23: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(a,"sheep")==0) i=8;
^
0_0_23534692_3412.cpp:18:24: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(a,"monkey")==0) i=9;
^
0_0_23534692_3412.cpp:19:25: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(a,"rooster")==0) i=10;
^
0_0_23534692_3412.cpp:20:21: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(a,"dog")==0) i=11;
^
0_0_23534692_3412.cpp:21:21: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(a,"pig")==0) i=12;
^
0_0_23534692_3412.cpp:23:21: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(b,"rat")==0) j=1;
^
0_0_23534692_3412.cpp:24:20: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(b,"ox")==0) j=2;
^
0_0_23534692_3412.cpp:25:23: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(b,"tiger")==0) j=3;
^
0_0_23534692_3412.cpp:26:24: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(b,"rabbit")==0) j=4;
^
0_0_23534692_3412.cpp:27:24: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(b,"dragon")==0) j=5;
^
0_0_23534692_3412.cpp:28:23: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(b,"snake")==0) j=6;
^
0_0_23534692_3412.cpp:29:23: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(b,"horse")==0) j=7;
^
0_0_23534692_3412.cpp:30:23: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(b,"sheep")==0) j=8;
^
0_0_23534692_3412.cpp:31:24: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(b,"monkey")==0) j=9;
^
0_0_23534692_3412.cpp:32:25: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(b,"rooster")==0) j=10;
^
0_0_23534692_3412.cpp:33:21: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(b,"dog")==0) j=11;
^
0_0_23534692_3412.cpp:34:21: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(b,"pig")==0) j=12;
^
|