25.09.2011, 11:59
Quote:
warning 201: redefinition of constant/macro (symbol "strcpy(%0,%1,%2)") |
Код:
#define strcpy(%0,%1,%2) %0="",strcat(%0,%2,%1)
Код:
error 035: argument type mismatch (argument 2)
warning 201: redefinition of constant/macro (symbol "strcpy(%0,%1,%2)") |
#define strcpy(%0,%1,%2) %0="",strcat(%0,%2,%1)
error 035: argument type mismatch (argument 2)
#if defined strcpy
#undef strcpy
#endif
#define strcpy(%0,%1,%2) strcat((%0[0] = '\0', %0), %1, %2)
error 035: argument type mismatch (argument 2)