Re: constant key? by James
James
Wed Dec 17 12:51:38 CST 2003
In C#, the @ before a string constant means that "" (two double quotes)
is translated in a single double-quote, and no other translations are
done --- every other character is as it appears.
Without the @, in C# and in C++, \ means the character that immediately
follows it has a special meaning. For example, \t means the tab character
(0x09), \n means the line feed (0x0A) etc. Among these is \\ (double
backslash), which is translated into a single backslash.
--
Truth,
James Curran
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
(note new day job!)
"Nigil LaVey" <lavey@pacific.net.sg> wrote in message
news:OLBLidJxDHA.560@TK2MSFTNGP11.phx.gbl...
> hi guys..
>
> in c# when you want to deal with file path.. I will use "@"
> str_FileName=@"c:\fwefwef\new filename";
>
> in c++? which character should I use?
>
> pls advise,
> Nigil Chua
>
>