Wrong prototype, cant seem to know what im doing wrong
<pre><code>void City::maxDistances(City A[], int numLines, int &amp;indxCityA, int &amp;indxCityB){
int maxi = computeDistance(A[0],A[1]);
   for (int i =0; i &lt; numLines; i++){
      for (int j = i +1; j &lt; numLines; j++){
</code></pre>

<p>THIS is my function. I want to make a prototype for it..</p>

<pre><code>void maxDistances( City[], int , int &amp;, int &amp;) ; 
</code></pre>

<p>what is wrong with my prototype? The error is:</p>

<blockquote>
  <p>prototype for void City::maxDistances(City*, int, int&amp;, int&amp;)' does not match any in class 'City'|</p>
</blockquote>

<p>any help?</p>
