title: Attempt at using header resulting in error: expected initializer before using
body: <p>I'm trying to solve an issue with a program I'm doing for college.
  Whenever I try to include a header in this program, but I don't manage to make it work, here it is:
  this is</p>
  
  <pre><code>// "numericos.cpp"
  #include &lt;iostream&gt;
  #include "numericos.h";
  
  using namespace std;
  
  double pot(double a, int b){
      if (b==0){
          return 1;
      } else {
          return a*pot(a,b-1);
      }
  }
  </code></pre>
  
  <p>this is "numericos.h"</p>
  
  <pre><code>// numericos.h
  #ifndef NUMERICOS_H_INCLUDED
  #define NUMERICOS_H_INCLUDED
  double pot(double a, int b)
  
  #endif // NUMERICOS_H_INCLUDED
  </code></pre>
  
  <p>this is another cpp in which I try to use pot:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include "numericos.h"
  
  using namespace std;
  
  int trees(int h, int r, int t){
      int a=h*r;
      int w=t/a;
      return w;
  }
  
  double borrow(double vi, double i){
      double vf=vi*(1+i*7);
      return vf;
  }
  
  double cborrow(double vi, double i){
      double vf = vi/pot((1+i),7);
      return vf;
  }
  </code></pre>
  
  <p>but I always keep getting this error:</p>
  
  <blockquote>
    <p>error: expected initializer before 'using'</p>
  </blockquote>
  
  <p>I know this probably is something simple, but I can't solve it. Any help?</p>