There is no particular reason for not splitting them into separate header and source files.
If you're using multiple c++ source files you need to include edgemain.h in the file that contains the EdgeMain() function, and include edge.h in the other source files.
OOOHHH ok ok... thats what I was after! I was trying to include EdgeMain.h in multiple files but that isn't a good idea! I didn't know about the other way! thanks
Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum