title: error C2664: cannot convert parameter 1 from 'int' to 'int []'
body: <pre><code>#include &lt;iostream&gt;
  
  
  using namespace std;
  
  class amin
  {
  private:
      const int length = 10;
      int newArray[length];
      int i;
  
  public:
      int deleteEvenNumber(int getArray[length])
      {
  
          for (i = 0 ; i &lt; length ; i++)
          {
              if (getArray[i] % 2 == 0)
                  newArray[i] = getArray[i];
                  i++;
  
          };
  
          return newArray[length];
      };
  };
  </code></pre>
  
  <p>main:</p>
  
  <pre><code>int main()
  {
      amin manipulateArrays;
  
      int input , i = 0;
      const int length = 10;
      int mainArray[length];
  
  
      cout&lt;&lt;"Please enter ten numbers :"&lt;&lt;endl;
  
      for (i = 0 ; i &lt; length ; i++)
      {
          cin&gt;&gt;input;
          mainArray[i] = input;
          i++;
      };
  
      manipulateArrays.deleteEvenNumber(mainArray[length]);
  };
  </code></pre>
  
  <p>i got these two errors:</p>
  
  <ol>
  <li><p>error C2664: 'amin::deleteEvenNumber' : cannot convert parameter 1 from 'int' to 'int []'</p></li>
  <li><p>IntelliSense: argument of type "int" is incompatible with parameter of type "int *"</p></li>
  </ol>
  
  <p>please help and explain about my mistake to me.</p>
  
  <p>and please introduce a good tutorial for this problem or this title to me.</p>