Re: THtml on windows NT

From: Valery Fine (fine@bnl.gov)
Date: Mon Aug 17 1998 - 17:24:58 MEST


On 17 Aug 98 at 16:09, GENTIT Francois-Xavier  DAPNI wrote:


> root> html.SetOutputDir("D:\Projets++\html\Doc_Litrani++");
> root> html.SetSourceDir("D:\Projets++\Litrani++");

  In C++ the symbol "\" as a "special one"

  To define "\" one as an elemant of the char string one has to 
define it twice. So please change the lines above as follows:

html.SetOutputDir("D:\\Projets++\\html\\Doc_Litrani++");
html.SetSourceDir("D:\\Projets++\\Litrani++");


  Or use the "right slash" right away:

html.SetOutputDir("D:/Projets++/html/Doc_Litrani++");
html.SetSourceDir("D:/Projets++/Litrani++");

  It works too.

  Hope this helps,
                        Valery


=================================================================
Dr. Valeri Faine (Fine)
    -------------------          Phone: +1 516 344 7806
Brookhaven National Laboratory   FAX  : +1 516 344 4206
Bldg. 510A /STAR                 mailto:fine@bnl.gov
Upton, New York, 11973-5000      http://nicewww.cern.ch/~fine
USA
                                 
Dr. Valery Fine                  Telex : 911621 dubna su
    -----------
LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80
141980 Dubna, Moscow region      Fax   : +7 09621 6 51 45
Russia                           mailto:fine@main1.jinr.dubna.su                              



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