C++ Default Argument Error
<p>Any Idea why this error is coming up at compile time?</p>

<pre><code>ComplexNumber.cpp:21: error: default argument given for parameter 1 of ‘void ComplexNumber::print(std::ostream&amp;) const’
ComplexNumber.h:17: error: after previous specification in ‘void ComplexNumber::print(std::ostream&amp;) const’
</code></pre>

<p>Here is my code at those certain areas:</p>

<p>ComplexNumber.cpp</p>

<pre><code>21    void ComplexNumber::print(ostream &amp; out = cout) const {
</code></pre>

<p>ComplexNumber.h</p>

<pre><code>17    void print(ostream &amp; out = cout) const;
</code></pre>
