error C2143: syntax error : missing '' before '*'
i get this message error
error C2143: syntax error : missing ';' before '*'
but cant figure out why , the header file is included , so it should know what
MyMesh is ... cant figure out what else it could be , any help. why else this error would occur
#pragma once
#include "global.h"
#include "MyMesh.h" ////////////////////////////////////MyMesh
#include "MyModel.h"
#include "MyEngine.h" ////
//#include <string>
class MyEngine
{
public:
MyEngine(void);
~MyEngine(void);
MyMesh *Loadmesh(LPCWSTR Name); //////// this is were it says error
void DrawAll();
void Render();
MSG msg;
WNDCLASSEX wc;
HWND hWnd;
HRESULT InitD3D( HWND hWnd );
//list for models
// vector<MyModel> vModel;
};
Did you perhaps forget the ';' after one of the class declarations in those header files?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement