This message has no question in it. I guess one wants to see how "stand-alone" ROOT program will look like. The examples can be found under %ROOTSYS%\test subdirectory. there is Makefile to build all executables from that directory as well. Hope this helps, Valery ----- Original Message ----- From: kamps <kamps@fsw.leidenuniv.nl> To: <roottalk@pcroot.cern.ch> Sent: 4 января 2000 г. 12:00 Subject: Minmal ROOT program under NT > > //////////////////////////////////////////////////////////////// > file://For ROOT////////////////////////////////////////////////////// > #include <TROOT.h> > #include <TCanvas.h> > #include <TPad.h> > #include <TApplication.h> > extern void InitGui(); > VoidFuncPtr_t initfuncs[] = { InitGui, 0 }; > TROOT root("rint", "The ROOT Interactive Interface", initfuncs); > //////////////////////////////////////////////////////////////// > > int main() { > > TApplication* pRootApp = new TApplication("RootApp",0,0); > TCanvas* T = new TCanvas("c1","bla",200,10,600,400); > TPad *pad1 = new TPad("pad1","The ultra pad",0.05,0.52,0.95,0.97); > pad1->Draw(); > T->Modified(); > T->Update(); > > while(1); > > return 0; > } > >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:16 MET