[Ayuda] con 2 Errores
#1

Hola,
estaba compilando un fs y me encuentro con estos dos errores
Код:
C:Documents and SettingsUsuarioEscritorioservers sampMP3 by DannyilterscriptsMusica.pwn(1363) : error 021: symbol already defined: "strtok"
C:Documents and SettingsUsuarioEscritorioservers sampMP3 by DannyilterscriptsMusica.pwn(1374) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664	 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
en estas lineas:
Код:
strtok(const string[], &index,seperator=' ')
{ // esta es el error 1363
new length = strlen(string);
new offset = index;
new result[NOMOVE_STR];
while ((index < length) && (string[index] != seperator) && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
if ((index < length) && (string[index] == seperator))index++;
return result; // y esta la 1374
}
Reply
#2

ya tienes definido strtok borra una de esas definiciones ._.
Reply
#3

Quote:
Originally Posted by Parka
Посмотреть сообщение
ya tienes definido strtok borra una de esas definiciones ._.
gracias solucionado
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)