Can some help me with these errors and warning?
#3

Try this definition
pawn Код:
#define strcpy(%0,%1,%2)   strcat((%0[0] = EOS, %0), %1, %2 + 1)
Or
pawn Код:
stock strcpy(dest[], const source[], const dsize = sizeof dest, const ssize = sizeof source)
{
        if(ssize < dsize) {
                memcpy(dest, source, 0, ssize*(cellbits/8), dsize);
                dest[ssize] = '\0';
        } else {
                memcpy(dest, source, 0, (dsize-1)*(cellbits/8), dsize);
                dest[dsize-1] = '\0';
        }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)