Hey Coder777 Where are you?

hey all, I'm wondering what is wrong with these codes:
while(*ptr != 0)
{
total = atoi(*ptr);
num += total;
*ptr++;
}

showed error message at total = atoi(*ptr)

Thank you very much!
Topic archived. No new replies allowed.