[Off] Desafio - String Reverse
#2

pawn Код:
stock sreverse(string[])
{
    new _@result[128], u = -1;
    for(new i = strlen(string); i ^ 0;)
        _@result[++u] = string[--i];
    return _@result;
}
Dpois de muita luta consegui.
Reply


Messages In This Thread
Desafio - String Reverse - by Dolby - 09.11.2013, 21:17
Respuesta: Desafio - String Reverse - by DanDRT - 09.11.2013, 21:26
Re: Desafio - String Reverse - by GWMPT - 09.11.2013, 21:36
Re: Desafio - String Reverse - by Dolby - 09.11.2013, 21:36
Re: Desafio - String Reverse - by GWMPT - 09.11.2013, 21:49
Re: Desafio - String Reverse - by iHarzard - 09.11.2013, 21:53
Re: Desafio - String Reverse - by Dolby - 09.11.2013, 21:57
Re: Desafio - String Reverse - by GWMPT - 09.11.2013, 22:00
Re: Desafio - String Reverse - by Dolby - 09.11.2013, 22:08
Re: Desafio - String Reverse - by GWMPT - 10.11.2013, 11:58

Forum Jump:


Users browsing this thread: 2 Guest(s)