Array size
#4

You can copy a string to another using strcat, memcpy, format (not recommended).

pawn Код:
strcpy(vInfo[id-1][Name], inputtext, 30);
and:
pawn Код:
#define strcpy(%0,%1,%2) strcat((%0[0] = '\0', %0), %1, %2)
Reply


Messages In This Thread
Array size - by kamiliuxliuxliux - 23.05.2014, 20:49
Re: Array size - by Jefff - 23.05.2014, 21:12
Re: Array size - by kamiliuxliuxliux - 23.05.2014, 21:38
Re: Array size - by Konstantinos - 23.05.2014, 21:52
Re: Array size - by kamiliuxliuxliux - 24.05.2014, 10:36

Forum Jump:


Users browsing this thread: 1 Guest(s)