Click here to Skip to main content
15,911,132 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: can't figure out this calculation Pin
Toni7826-May-05 7:53
Toni7826-May-05 7:53 
GeneralCeateProcess Pin
Imtiaz Murtaza26-May-05 5:12
Imtiaz Murtaza26-May-05 5:12 
GeneralRe: CeateProcess Pin
skornel26-May-05 6:39
skornel26-May-05 6:39 
GeneralSetting up hooks to monitor Webpage controls in IE Pin
m_ramesh3126-May-05 5:01
m_ramesh3126-May-05 5:01 
GeneralRe: Setting up hooks to monitor Webpage controls in IE Pin
Shog926-May-05 12:20
sitebuilderShog926-May-05 12:20 
GeneralRe: Setting up hooks to monitor Webpage controls in IE Pin
Waleed Eissa26-May-05 13:09
Waleed Eissa26-May-05 13:09 
GeneralRe: Setting up hooks to monitor Webpage controls in IE Pin
ThatsAlok26-May-05 18:25
ThatsAlok26-May-05 18:25 
GeneralOLEDB Decimal Seperator Wrong! Pin
Chris Ulliott26-May-05 4:40
Chris Ulliott26-May-05 4:40 
GeneralReading a file Pin
Andrew Admire26-May-05 4:37
Andrew Admire26-May-05 4:37 
GeneralRe: Reading a file Pin
toxcct26-May-05 4:45
toxcct26-May-05 4:45 
GeneralRe: Reading a file Pin
Andrew Admire26-May-05 5:10
Andrew Admire26-May-05 5:10 
GeneralRe: Reading a file Pin
Andrew Admire26-May-05 9:26
Andrew Admire26-May-05 9:26 
GeneralRe: Reading a file Pin
ThatsAlok26-May-05 21:40
ThatsAlok26-May-05 21:40 
GeneralRe: Reading a file Pin
Andrew Admire27-May-05 3:41
Andrew Admire27-May-05 3:41 
GeneralAddSlashes Pin
talkster526-May-05 3:42
talkster526-May-05 3:42 
GeneralRe: AddSlashes Pin
David Crow26-May-05 3:55
David Crow26-May-05 3:55 
GeneralRe: AddSlashes Pin
talkster526-May-05 4:16
talkster526-May-05 4:16 
GeneralRe: AddSlashes Pin
John M. Drescher26-May-05 4:26
John M. Drescher26-May-05 4:26 
GeneralRe: AddSlashes Pin
talkster526-May-05 4:30
talkster526-May-05 4:30 
GeneralRe: AddSlashes Pin
Ravi Bhavnani26-May-05 4:36
professionalRavi Bhavnani26-May-05 4:36 
GeneralRe: AddSlashes Pin
John M. Drescher26-May-05 4:48
John M. Drescher26-May-05 4:48 
You should not need to do so. That is why I was confused. \\ is only needed if the string is compiled into your program or you are using a UNC server name such as \\mypc\share\file.txt instead of c:\file.txt. The reason why you need an extra slash in a compiled string is that \ is the escape character in c. The character that comes after the \ is gobbled up and converted into a code \n = new line \r = carrage return \t = tab. But how then do I use a \ in a string constant when I really want a \. The language writers added \\ = \ to allow this. When you read your data from any other method other than compiled into these conversions do not occur so you never need \\ in any type of file.

John
GeneralRe: AddSlashes Pin
toxcct26-May-05 5:02
toxcct26-May-05 5:02 
GeneralRe: AddSlashes Pin
David Crow26-May-05 4:50
David Crow26-May-05 4:50 
GeneralRe: AddSlashes Pin
toxcct26-May-05 4:27
toxcct26-May-05 4:27 
GeneralRe: AddSlashes Pin
talkster526-May-05 8:12
talkster526-May-05 8:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.