The code is:
int euler4 ()
{
for (int i = 999; i > 100; i= i - 1; ){
for (int j = 999; j > 100; j--;){
int n = i*j;
bool ptest = ispalindrome(n);
if (ptest){return n;}
}
}
return 0;
}
The error is on the first line, int euler(), and it reads: "error: expected primary-expression before ')' token."
I am new to C++, but I have other for loops in the same code, and have had zero problems. I'm stumped.