Is there anything wrong with this (c++)code? if so can anybody tell me where I went wrong?
<p>I'm new to C++ and was practicing with an exercise. I use the CodeBlocks IDE.</p>

<pre><code>#include &lt;iostream&gt;

using namespace std;

int main() {
    double f;
    double m;
    int counter;
    counter = 0;
    for (f = 1.0, f &lt;= 100.0, f++) { // error: expected primary-expression before ')'
        m = f / 3.28;
        cout &lt;&lt; f &lt;&lt; " feet is " &lt;&lt; m &lt;&lt; " meters!\n done";
        counter++;
        if (counter == 10) {
            cout &lt;&lt; "\n";
            counter = 0;
        }
    }
    cin.ignore();
    cin.get();
    return 0;
}
</code></pre>

<p>Every time I put this in my IDE I get the following error:</p>

<blockquote>
  <p><code>error: expected primary-expression before ')' token</code></p>
</blockquote>

<p>Can anybody point me in the right direction?</p>
