#include "DemoApp.h" main() { //initialize the datatypes library status_t err = DATAInit(signature); //a const char[] defined in DemoApp.h if(err != B_OK) { fprintf(stderr, "Can't initialize the datatypes library\n"); exit(2); } DemoApp myApplication; myApplication.Run(); //more datatypes stuff DATAShutdown(); //be well behaved return 0; }