title: error "expected initializer before 'using'" c++
body: <p>im new here ,and new at proggraming in general . 
  whem im trying to run this code:</p>
  
  <pre><code>#include&lt;fstream&gt;
  #include &lt;iostream&gt;
  #include "main.h"
  using namespace std;
  int main()
  {
   short arr_size ()
  float temp;
  point point_arr[99];
  ifstream my_file   ("points.txt");
  while(!my_file.eof())
  {
      my_file&gt;&gt;temp ;
      point_arr[arr_size].set_x(temp);
      my_file&gt;&gt;temp ;
      point_arr[arr_size].set_y(temp);
      arr_size++;
  }
  arr_size--;
  my_file.close();
  ex_point(point_array,arr_size);
  cout&lt;&lt;"the middle point is:("&lt;&lt;mid_p(point_array,arr_size).get_x()&lt;&lt;","&lt;&lt;mid_p(point_array,arr_size).get_y()&lt;&lt;")\n";
  return 0;
  }
  </code></pre>
  
  <p>im getting this error : "error "expected initializer before 'using'" c++" 
  this is the first time i get this error . it may be somthing wrong with "main.h" ? 
  this is "main.h " :</p>
  
  <pre><code>    #ifndef MAIN_H_INCLUDED
  #define MAIN_H_INCLUDED
  #include&lt;iostream&gt;
  class point
  {
      float x ,y ;
  public :
      point(float a,float b){x=a;y=b;}
      point(){};
      void set_x(float a){x=a;};
      void set_y(float b){x=b;};
      const float get_x(){return x; };
      const float get_y(){return y; };
      const void show();
      const float pitagoras();
  };
  const point mid_p(point[],float);
  const void ex_point(point[],float)
  
  
  
  #endif // MAIN_H_INCLUDED
  </code></pre>
  
  <p>thank you !
  ivory</p>