Reverse string
#1

Код:
Function:Reverse(string[])
{
	new string1[256];
	for(new i = 0, j = strlen(string); i < strlen(string); i++, j--)
	{
	    string1[i] = string[j];
	}
	return string1;
}
So I made this function, but it won't print anything on the screen or return anything

Function is just a macro I've made.
Reply


Messages In This Thread
Reverse string - by XStormiest - 25.08.2018, 17:15
Re: Reverse string - by KieranDyer - 25.08.2018, 17:22
Re: Reverse string - by XStormiest - 25.08.2018, 17:24

Forum Jump:


Users browsing this thread: 1 Guest(s)