I've been having a lot of trouble writing histograms to a file in my program. I'm using VC++ 6 on Windows 2000, and am using the QT libraries for my GUI interface. Even the simplest code doesn't seem to work, e.g., TFile* file = new TFile("e:\\rt\\testfile.root","UPDATE"); TH1S* testhisto = new TH1S("histo","histo",100,0,100); testhisto->Write(); file->Close(); will cause the program to indicate "Abnormal program termination" when execution reaches the "testhisto->Write()" line. Can anyone help me out? Thanks, John
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:38 MET