I am trying to learn clanlib yet i have a very simple program and It still wont compile with borland c++ 5.5
The error is Error E2303 clan.cpp 5: Type name expected
The code is:
#define BORLAND
#include <ClanLib/core.h>
class ClanGameApp : public CL_ClanApplication
{
public:
virtual char *get_title()
{ return "Title goes here"; }
virtual void init_modules()
{ CL_SetupCore::init(); }
virtual void deinit_modules()
{ CL_SetupCore::deinit(); }
virtual int main(int, char **)
{ return 0; }
} ClanGameApp;
Please Help fix this!! email me at [email protected]
Thank you!