rmain.cxx

Go to the documentation of this file.
00001 // @(#)root/main:$Id: rmain.cxx 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Fons Rademakers   02/03/95
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 //////////////////////////////////////////////////////////////////////////
00013 //                                                                      //
00014 // RMain                                                                //
00015 //                                                                      //
00016 // Main program used to create RINT application.                        //
00017 //                                                                      //
00018 //////////////////////////////////////////////////////////////////////////
00019 
00020 #include "TRint.h"
00021 
00022 //______________________________________________________________________________
00023 int main(int argc, char **argv)
00024 {
00025    // Create an interactive ROOT application
00026    TRint *theApp = new TRint("Rint", &argc, argv);
00027 
00028    // and enter the event loop...
00029    theApp->Run();
00030 
00031    delete theApp;
00032 
00033    return 0;
00034 }

Generated on Tue Jul 5 14:30:42 2011 for ROOT_528-00b_version by  doxygen 1.5.1