title: error: ISO C++ forbids declaration of �serivces� with no type [-fpermissive]
body: <p>Okay I'm an noob at this, but I think I got all this set up correctly, and I am being thown an: </p>
  
  <pre><code>[Admin@shadowrealm ircservices]$ g++ main.cpp -o services
  In file included from main.cpp:1:0:
  services.h:8:15: error: ISO C++ forbids declaration of âserivcesâ with no type [-fpermissive]
  </code></pre>
  
  <p>by the compiler (using g++)</p>
  
  <p>main.cpp:</p>
  
  <pre><code>#include "services.h"
  
  #include &lt;iostream&gt;
  using namespace std;
  
  int main(int ac, char **av)
  {
      services myservices;
  
      if(myservices.startup() == 1)
           cout &lt;&lt; "Cool this works!!" &lt;&lt; endl;
  
          return(0);
  }
  </code></pre>
  
  <p>services.h:</p>
  
  <pre><code>#ifndef SERVICES_H
  #define SERVICES_H
  
  class services
  {
  
  public:
       serivces();
       ~services();
       int startup();
  };
  
  #endif
  </code></pre>
  
  <p>services.cpp:</p>
  
  <pre><code>#include "services.h"
  
  services::services()
  {
  }
  
  services::~services()
  {
  }
  
  int services::startup()
  {
  return 1;
  }
  </code></pre>
  
  <p>this is puzzling to me, but as i said im not a pro at this, so watch it be some obvious error like "change 1 to 2" or something...</p>