title: Using a parameter without name
body: <p>I'm working on a project my professor gave me.  One of the functions that I have to implement uses a parameter passed in as such.  Normally I am used to using parameters with variables.</p>
  <p>Instruction as to what the function is supposed to do:</p>
  <p><code>binMinHeap&lt;Type&gt;::binMinHeap(int capacity)</code>-default constructor that sets
  <code>this-&gt;capacity</code> with the parameter passed in, sets the size accordingly, and allocates an array to heapArray</p>
  <p>He also provides the piece below and I am not supposed to edit any of the functions or parameters.</p>
  <pre><code>class binMinHeap
  {
     public:
     binMinHeap(int = 10);
     ...
  }
  </code></pre>
  <p>As an example, normally if the function was given such as <code>binMinHead(int capactity)</code>, I would understand to do something such as</p>
  <pre><code> binMinHeap(int capacity= 10){
        something = capacity;
        ...
   }
  </code></pre>
  <p>but how do I access the parameter of just &quot;int=10&quot;?</p>