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