[Pedido] include strtok?
#10

Quote:
Originally Posted by Kanuy
Посмотреть сообщение
Vocк usou dessa forma?
Код:
#include <strtok>
Se for amigo... DELETA!


Pra mim compilou normalmente
agora foi

thx brothr
retirei o
Код:
#include <strtok>
e adicionei o

Код:
stock 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;
}
no final da GM
Reply


Messages In This Thread
include strtok? - by C0D3Xexe - 08.07.2016, 22:33
Re: include strtok? - by XandyMello - 08.07.2016, 22:50
Re: include strtok? - by C0D3Xexe - 08.07.2016, 22:54
Re: include strtok? - by Diogo123 - 08.07.2016, 23:35
Re: include strtok? - by C0D3Xexe - 08.07.2016, 23:50
Re: include strtok? - by ipsLuan - 09.07.2016, 00:11
Re: include strtok? - by Dayvison_ - 09.07.2016, 00:15
Re: include strtok? - by ipsLuan - 09.07.2016, 00:45
Respuesta: Re: include strtok? - by Kanuy - 09.07.2016, 01:17
Re: Respuesta: Re: include strtok? - by C0D3Xexe - 09.07.2016, 02:40

Forum Jump:


Users browsing this thread: 1 Guest(s)