title: C++ undeclared identifier
body: <p>I want to create a sea ​​battle game. I have two classes: Ship and Cell.</p>
  
  <pre><code>#pragma once
  #include"stdafx.h"
  #include"Globals.h"
  #include&lt;vector&gt;
  #include"MCell.h"
  
   class Ship 
   {
  
   private:
      int lenght;
      int oriantation;
      vector&lt;Cell*&gt; cells;
      vector&lt;Cell*&gt; aroundCells;
  </code></pre>
  
  <p>...</p>
  
  <pre><code>#pragma once
  #include&lt;vector&gt;
  #include"MShip.h"
  
   class Cell
  {
  
  private:
      bool haveShip;
      bool selected;
      bool around;
      int x;
      int y;
      Ship* ship; 
  </code></pre>
  
  <p>And i have got many error like those:</p>
  
  <pre><code>1&gt;projects\seewar\seewar\mship.h(13): error C2065: 'Cell' : undeclared identifier
  1&gt;projects\seewar\seewar\mship.h(13): error C2059: syntax error : '&gt;'
  1&gt;projects\seewar\seewar\mship.h(14): error C2065: 'Cell' : undeclared identifier
  </code></pre>
  
  <p>What's wrong with the code?</p>