This should work. What is the problem? Rene Brun On Fri, 28 Jun 2002, Suzanne Panacek wrote: > Hi Josh, > I am forwarding your message to roottalk. > Suzanne > ----- Original Message ----- > From: Joshua Dyer > To: rootdoc@pcroot.cern.ch > Sent: Thursday, June 27, 2002 4:00 PM > > > Hello root people > > I am trying to run a macro, and I keep running into a certain problem. > In the macro, I need the output saved as a post script file and the macro > needs to be run on many different data sets. I want to be able to input the > name I would like the .ps file to be saved as without editing the macro each > time. I tried: > > TString PostScriptName; //var for the name of the post script > > cout << "What do you want to name the post script file?" << endl; > cout << "(Please include the .ps and quotes)" << endl; > cin >> PostScriptName; > > TPostScript *ps = new TPostScript(PostScriptName, 112); > > This does not work. I can't seem to figure out how to do such an input. > Please help. Thanks. > > Joshua M. Dyer > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:58 MET