home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / thx / demos / skeleton / build / main.cpp next >
Encoding:
C/C++ Source or Header  |  1995-05-11  |  440 b   |  24 lines

  1. //------------------------------------------------------------------
  2. //---- empty Theatrix application
  3. //------------------------------------------------------------------
  4.  
  5. #include "mydir.h"
  6.  
  7. class App : public Theatrix  {
  8. public:
  9.   App() : Theatrix("Title goes here")
  10.     { mydir=new MyDirector; }
  11.  ~App()
  12.     { delete mydir; }
  13. private:
  14.   MyDirector* mydir;
  15. };
  16.  
  17. int main()
  18. {
  19.   App app;
  20.   app.go();
  21.   
  22.   return 0;
  23. }
  24.