大家好:
小弟有一段程式bug始終找不出來請各位先進幫幫我 的忙謝謝
#include <owl\owlall.h>
class HelloApp: public TApplication
{
public:
HelloApp() :Tapplication()
{
}
void InitMainWindow()
{
TFrameWindow *MyWin=new TFrameWindow(NULL. "Hello World");
SetMainWindow(MyWin);
}
};
int OwlMain(int,char*[])
{
HelloApp I_myself_represent_this_program;
return I_myself_represent_this_program.Run();
}
Error massege
Unable to open include file 'owl\owlall.h'
declaration syntax error
Statement missing ; in function OwlMain(int,char* *)
Undefined symbol 'I_myself_represent_this_program'in function
我owlall.h的完整路徑為 d:\winapi\bc45\include\owl\owlall.h
我在Option裡設include檔的路徑為d:\winapi\bc45\include\owl
請問我到底錯在哪勒 煩請告知謝謝.........