strreplace
#1

Код:
stock strreplace(string[], find, replace)
{
    for(new i = 0; i < sizeof(string[i]); i++)
    {
        if(string[i] == find)
        {
            string[i] = replace;
        }
    }
}
I get this error at the red line:

Quote:

error 080: unknown symbol, or not a constant symbol (symbol "i")

Reply


Messages In This Thread
strreplace - by Sellize - 07.08.2013, 12:09
Re: strreplace - by Misiur - 07.08.2013, 12:27

Forum Jump:


Users browsing this thread: 2 Guest(s)