Error in compilation
#2

Lines :

Код:
strtok(const string[], &index)
{   // here <<
    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; // Here <<
}
Reply


Messages In This Thread
Error in compilation - by xRuffles - 15.02.2013, 15:51
Re: Error in compilation - by xRuffles - 15.02.2013, 15:55
Re: Error in compilation - by xRuffles - 15.02.2013, 16:10
Re: Error in compilation - by YoYo123 - 15.02.2013, 16:39
Re: Error in compilation - by xRuffles - 15.02.2013, 19:19
Re: Error in compilation - by xRuffles - 15.02.2013, 19:32
Re: Error in compilation - by xRuffles - 15.02.2013, 19:40
Re: Error in compilation - by xRuffles - 15.02.2013, 20:04
Re: Error in compilation - by TheArcher - 15.02.2013, 20:22
Re: Error in compilation - by xRuffles - 15.02.2013, 20:49

Forum Jump:


Users browsing this thread: 1 Guest(s)