title: Why am I getting an error telling me the constructor is not naming a type?
body: <p>I am using <code>Code::Blocks</code>. Here is my code</p>
  
  <pre><code>#include "LargeInt.h"
  
  LargeInt::LargeInt()
  {
  
  }
  </code></pre>
  
  <p>Header</p>
  
  <pre><code>#ifndef LARGEINT_H
  #define LARGEINT_H
  
  
  class LargeInt
  {
      public:
          LargeInt();
  };
  
  #endif // LARGEINT_H
  </code></pre>
  
  <p>The error that I am getting is</p>
  
  <blockquote>
    <p>'LargeInt does not name a type' in line 3 of my class</p>
  </blockquote>
  
  <p>All I did was click file > new > class and then started coding without changing any settings or anything like that.</p>