this pointer, operator= and operator++
<p>assignment based around operator= copy overloading, and learning objects. coding operator++ for a class.</p>

<p>the instructions are:</p>

<pre><code>Seti operator++( );
  This operator simply increases the value of a Seti object's frequency
  by 1 (to a maximum of 9), before returning a copy of itself.
    NOTE: The frequency can never exceed 9.
</code></pre>

<p>can i do this:</p>

<pre><code>Seti Seti::operator++( ) {
    Seti temp;
    temp = *this
    if (temp.freq&lt;9)
    temp.freq+=1;
    return temp;
}
</code></pre>

<p>thanks.</p>
