int main (int argc, char **argv) { TMyApp *MyApp = new TMyApp(argc, argv); MyApp->mainLoop(); delete MyApp; return 0; }
int main() { readFile( fileToRead ); TMyApp myApp; myApp.run(); deleteFile(); return 0; }
int main() { TMyApp myApp; myApp.run(); return 0; }