both parameters are default?
<pre><code>    void method( double code = 0, CQueue* = NULL).
</code></pre>

<p>I have this method defined in ".h" file . In the .cpp file I assign the values of code in ont method( I want the queue to be a null here) and  queue is assigned a null in another method ( code has to be a 0 here) 
 Having both the parameters a default type is it valid in c++?
What can be an alternative way?</p>
