title: Syntax error: missing ';' before '*' when creating a pointer object of a user defined abstract class
body: <p>I am trying to create pointer objects for my defined class 'FeralScene'</p>
  
  <p>But i keep getting this error "Syntax error: missing ';' before '*'"</p>
  
  <p>i dont know wats wrong with my code... could smone pls help me out? </p>
  
  <pre><code>/***********************************************************************
  2D Engine Header File
  
  File Name:  FeralFramework
  File Desc:  Header to the Main Framework file
  
  ************************************************************************/
  #ifndef FERALFRAMEWORK_H
  #define FERALFRAMEWORK_H
  
  #pragma once
  #include&lt;Windows.h&gt;
  #include&lt;d3d9.h&gt;
  #include&lt;d3dx9.h&gt;
  #include&lt;string&gt;
  #include &lt;dinput.h&gt;
  
  #include"FeralScene.h"
  
  #include"GraphicDevice.h"
  #include "Stdinc.h"
  
  
  LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
  
  class FeralFramework
  {
  public:
      LPDIRECTINPUT8 inputDevice;
      LPDIRECT3DDEVICE9 Device;
      HWND WindowHandler;
      HINSTANCE Instance;
      FeralScene *CurrentScene,*PrevScene; // error occurs here
  
      GraphicDevice graphicDevice;
  
      static HWND StaticWindowHandle;
      static IDirect3DDevice9 *GraphDevice;
  
      int ScreenHeight;
      int ScreenWidth;
      bool IsFullScreen;
  
      bool WindowCreation();
      bool InitDirectx();
  
      void MessageLoop();
      void SetLighting();
      void UpdateDrawLoopCallFunction();
      void InitFrameWork();
      void Render();
      void initializeDirectInput();
      //void Camera(int mx, int my);
  
      void SceneSwitcher(FeralScene *SCENETOSWITCHTO);  
      // the FeralScene identifier error occurs here
  
      FeralFramework();
      FeralFramework(HINSTANCE Instance,int ScreenHeight,int ScreenWidth ,bool IsFullScreen,FeralScene *SentSceneObject );  
      // the FeralScene identifier error occurs here
  
      FeralFramework(HINSTANCE Instance,FeralScene *SentSceneObject);  
      // the FeralScene identifier error occurs here
  
  };
  
  inline LRESULT CALLBACK WndProc(HWND WindowHandler,UINT Msg,WPARAM wparam,LPARAM lparam)
  {
      switch(Msg)
      {
      case WM_DESTROY:
          PostQuitMessage(0);
          return true;
      default:
          return DefWindowProc(WindowHandler,Msg,wparam,lparam);
      }
  
  }
  
  #endif
  </code></pre>
  
  <p>And here is a list of the errors that pop up when i try to compile it</p>
  
  <pre><code>1&gt;c:\users\sys\documents\visual studio 2010\projects\feralengine\feralengine\feralframework.h(33): error C2143: syntax error : missing ';' before '*'
  1&gt;c:\users\sys\documents\visual studio 2010\projects\feralengine\feralengine\feralframework.h(33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
  1&gt;c:\users\sys\documents\visual studio 2010\projects\feralengine\feralengine\feralframework.h(33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
  1&gt;c:\users\sys\documents\visual studio 2010\projects\feralengine\feralengine\feralframework.h(33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
  1&gt;c:\users\sys\documents\visual studio 2010\projects\feralengine\feralengine\feralframework.h(55): error C2061: syntax error : identifier 'FeralScene'
  1&gt;c:\users\sys\documents\visual studio 2010\projects\feralengine\feralengine\feralframework.h(58): error C2061: syntax error : identifier 'FeralScene'
  1&gt;c:\users\sys\documents\visual studio 2010\projects\feralengine\feralengine\feralframework.h(59): error C2061: syntax error : identifier 'FeralScene'
  </code></pre>
  
  <p>What am i missing ? Any help will be appreciated :(</p>
  
  <p>And here is the code for FeralScene</p>
  
  <pre><code>/***********************************************************************
  2D Engine Header File
  
  File Name:  FeralScene
  File Desc:  Header to the FeralScene file
  
  ************************************************************************/
  
  #pragma once
  
  #include&lt;d3dx9.h&gt;
  #pragma once
  #include&lt;Windows.h&gt;
  #include&lt;d3d9.h&gt;
  #include&lt;d3dx9.h&gt;
  #include"GraphicDevice.h"
  #include "FeralFramework.h"
  //#include "Vector.h"
  
  class FeralScene
  {
  public:
      HWND WindowHandler;
      IDirect3DDevice9 *Device;
      int BackBufferHeight;
      int BackBufferWidth;
      bool IsFullScreen,HasLoadedResources,HasUnloadedResources;
  
      virtual void Initialize(FeralScene *SentSceneObject) =0;
      virtual void Load(GraphicDevice graphicDevice) =0;
      virtual void Update(GraphicDevice graphicDevice) =0;
      virtual void Draw(GraphicDevice graphicDevice) =0;
      virtual void Unload() =0;
      virtual void Lighting()=0;
      virtual void LoadAnim()=0;
      virtual void UnloadAnim()=0;
  };
  </code></pre>