for(int a = 0, b = 1; b < n; a++; b++)
{
if (compare(values[a], values[b]))
counter++;
else
{
int x = values[a];
values[a] = values[b];
values[b] = x;
}
}
I get this error for the first line [ for(int... ] when I try to compile:
helpers.c:68:41: error: expected ')' before ';' token
Why would I need to add another ')'?