Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Last item in the combo box not getting deleted. Pin
Steve Echols23-Oct-08 10:54
Steve Echols23-Oct-08 10:54 
GeneralRe: Last item in the combo box not getting deleted. Pin
mrcdsix23-Oct-08 10:58
mrcdsix23-Oct-08 10:58 
QuestionHow to convert "D:\Documents\delay.txt" to "D:\\Documents\\delay.txt"? Pin
nhatvhm23-Sep-08 17:45
nhatvhm23-Sep-08 17:45 
AnswerRe: How to convert "D:\Documents\delay.txt" to "D:\\Documents\\delay.txt"? Pin
Steve Echols23-Sep-08 17:55
Steve Echols23-Sep-08 17:55 
GeneralRe: How to convert "D:\Documents\delay.txt" to "D:\\Documents\\delay.txt"? Pin
nhatvhm23-Sep-08 18:12
nhatvhm23-Sep-08 18:12 
GeneralRe: How to convert "D:\Documents\delay.txt" to "D:\\Documents\\delay.txt"? Pin
Steve Echols23-Sep-08 18:23
Steve Echols23-Sep-08 18:23 
AnswerRe: How to convert "D:\Documents\delay.txt" to "D:\\Documents\\delay.txt"? Pin
Mahesh Kulkarni23-Sep-08 20:09
Mahesh Kulkarni23-Sep-08 20:09 
AnswerRe: How to convert "D:\Documents\delay.txt" to "D:\\Documents\\delay.txt"? Pin
toxcct23-Sep-08 21:30
toxcct23-Sep-08 21:30 
the good question is "why do you need to do this ?"...

I suspect a dark reason which is in fact because you're trying to hack something because you don't actually understand that string escaping is useful only in your source code...
if you're getting the string from an external source (input, textbox, open file dialog), the string you get is already good.

you need to escape \ into \\ only in your source code, because if you don't, the \ character will try to escape the character next to it, and that's not what you want. you want a single \ in the string, because it is the folder separator character, which must be typed '\\'...


QuestionIs this corrent. Pin
Member 409922223-Sep-08 16:33
Member 409922223-Sep-08 16:33 
AnswerRe: Is this corrent. Pin
fzhsheng23-Sep-08 17:35
fzhsheng23-Sep-08 17:35 
GeneralRe: Is this corrent. Pin
Member 409922223-Sep-08 18:08
Member 409922223-Sep-08 18:08 
GeneralRe: Is this corrent. Pin
David Crow24-Sep-08 4:20
David Crow24-Sep-08 4:20 
GeneralRe: Is this corrent. Pin
Member 409922224-Sep-08 16:35
Member 409922224-Sep-08 16:35 
GeneralRe: Is this corrent. Pin
David Crow24-Sep-08 17:24
David Crow24-Sep-08 17:24 
GeneralRe: Is this corrent. Pin
Member 409922224-Sep-08 20:32
Member 409922224-Sep-08 20:32 
QuestionRe: Is this corrent. Pin
David Crow25-Sep-08 3:36
David Crow25-Sep-08 3:36 
AnswerRe: Is this corrent. Pin
George L. Jackson23-Sep-08 17:44
George L. Jackson23-Sep-08 17:44 
GeneralRe: Is this corrent. Pin
Member 409922223-Sep-08 20:44
Member 409922223-Sep-08 20:44 
GeneralRe: Is this corrent. Pin
toxcct23-Sep-08 21:24
toxcct23-Sep-08 21:24 
QuestionHow to save HDC to a file? Pin
TooShy2Talk23-Sep-08 15:59
TooShy2Talk23-Sep-08 15:59 
QuestionHow can I send a file to a given eMail address? Pin
Joseph Marzbani23-Sep-08 11:00
Joseph Marzbani23-Sep-08 11:00 
AnswerRe: How can I send a file to a given eMail address? Pin
SandipG 23-Sep-08 19:15
SandipG 23-Sep-08 19:15 
QuestionGet drive letters and thier types ... [modified] Pin
Joseph Marzbani23-Sep-08 9:52
Joseph Marzbani23-Sep-08 9:52 
AnswerRe: Get drive letters and thier types ... Pin
Perspx23-Sep-08 10:07
Perspx23-Sep-08 10:07 
GeneralRe: Get drive letters and thier types ... Pin
Joseph Marzbani23-Sep-08 10:53
Joseph Marzbani23-Sep-08 10:53 

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.