Re: THtml on windows NT

Valery Fine (fine@bnl.gov)
Mon, 17 Aug 1998 10:24:58 -0500


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