Re: Fatal in <operator delete>: storage area overwritten

From: Valery Fine (fine@mail.cern.ch)
Date: Tue Oct 14 1997 - 10:14:41 MEST


On 13 Oct 97 at 17:00, William J. Deninger wrote:


> TFile *f = new TFile("d:\\data\\basic.root","RECREATE");

  Just a small comment:

  One can use "right" slash as well, like this:

   TFile *f = new TFile("d:/data/basic.root","RECREATE");

or even

  gSystem.cd("d:/");
  TFile *f = new TFile("/data/basic.root","RECREATE");

 Just to make code more "portable" across platforms.


                          Valery
Dr. Valeri Faine (Valery Fine)
    ------------ -------------   Phone: +41 22 767 4921
CERN                             FAX  : +41 22 767 7155
CH-1211 Geneva, 23               mailto:fine@mail.cern.ch 
Switzerland                      http://nicewww.cern.ch/~fine
                                 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:21 MET