Szerző Téma: strtok  (Megtekintve 459 alkalommal)

strtok
« Dátum: 2013. Március 13. - 15:23:52 »
0 Show voters
undefined symbol \"strtok\"

 
Ilyen errorok vannak a módomban, ehhez vki tudna definíciót küldeni?

Nem elérhető Raidon

  • 231
    • Profil megtekintése
strtok
« Válasz #1 Dátum: 2013. Március 13. - 15:35:27 »
0 Show voters

strtok
« Válasz #2 Dátum: 2013. Március 13. - 16:39:35 »
0 Show voters
Lehet, hogy ez nincs a mododban benne:
 
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= \' \'))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > \' \') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal