title: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token
body: <pre><code>void Partition(int*Data,int low, int high, int&amp; pivotpoint, int&amp; CompareCount)
  {
      int i ,j;
      // low is pivot ...
  
      int pivotitem = Data[low];
      j= low;
      for(i=low+1; i&lt;=high;i++)
      {
          //data&lt;pivot -&gt; to low position
          if(Data[i] &lt;pivotitem)
          {
              j++;
              int k = Data[i];
              Data[i] = Data[j];
              Data[j] = k;
          }
          CompareCount++;
      }
      //move pivot ,pivot position
      pivotpoint = j;
      int k = Data[j];
      Data[j]=Data[low];
      Data[low] = k;
  }
  </code></pre>
  
  <p>here</p>
  
  <p>I think the use of '&amp;' is right.</p>
  
  <p>But it didn't compile.</p>
  
  <p>this is error and warning</p>
  
  <blockquote>
    <p>error: expected ‘;’, ‘,’ or ‘)’ before ‘&amp;’ token<br>
    warning: no newline at end of file</p>
  </blockquote>
  
  <p>I don't know why this is happen~</p>