0_0_23392519_24976.cpp: In function 'int main()':
0_0_23392519_24976.cpp:36:31: error: cannot convert 'int*' to 'const char*' for argument '2' to 'char* strcpy(char*, const char*)'
strcpy(strtemp,p[j].name);
^
0_0_23392519_24976.cpp:37:35: error: cannot convert 'int*' to 'char*' for argument '1' to 'char* strcpy(char*, const char*)'
strcpy(p[j].name,p[j+1].name);
^
0_0_23392519_24976.cpp:38:33: error: cannot convert 'int*' to 'char*' for argument '1' to 'char* strcpy(char*, const char*)'
strcpy(p[j+1].name,strtemp);
^
0_0_23392519_24976.cpp:46:58: error: cannot convert 'int*' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(p[j].sum==p[j+1].sum&&strcmp(p[j].name,p[j+1].name)>0)
^
0_0_23392519_24976.cpp:51:31: error: cannot convert 'int*' to 'const char*' for argument '2' to 'char* strcpy(char*, const char*)'
strcpy(strtemp,p[j].name);
^
0_0_23392519_24976.cpp:52:35: error: cannot convert 'int*' to 'char*' for argument '1' to 'char* strcpy(char*, const char*)'
strcpy(p[j].name,p[j+1].name);
^
0_0_23392519_24976.cpp:53:33: error: cannot convert 'int*' to 'char*' for argument '1' to 'char* strcpy(char*, const char*)'
strcpy(p[j+1].name,strtemp);
^
|