title: intellisense doesn't recognise classes
body: <p>I was coding a small game, when i got an error from intelisense. I tried again with a simple pet class, but intellisense didn't think it was correct. here is the code and the errors:</p>
  
  <pre><code>#include &lt;iostream&gt;
  class Pet{
  public:
      int m_hunger;
      void Greet();
  };
  void Pet::Greet(){
      std::cout &lt;&lt; "My hunger is " &lt;&lt; m_hunger;
  }
  int main(){
      Pet dog();
      dog.m_hunger = 9;//Expression must have class type
      dog.Greet();//Expression must have class type
      return 0;
  }
  </code></pre>