Click here to Skip to main content
15,908,843 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Last item in the combo box not getting deleted. Pin
David Crow24-Sep-08 4:17
David Crow24-Sep-08 4:17 
GeneralRe: Last item in the combo box not getting deleted. Pin
mrcdsix23-Oct-08 10:50
mrcdsix23-Oct-08 10:50 
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 
Try:

strcpy(strFilePath, "D:\\Documents\\delay.txt");

You need the double backslashes \\ in your string literal, because \ is the escape character, so the compiler is translating what you wrote as \D and \d. Lookup "C escape sequences" on google.


- S
50 cups of coffee and you know it's on!
A post a day, keeps the white coats away!

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 
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 

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.