-
March 20th, 2009, 03:34 PM
#1
CString
Hi,
I have following CString and ....
Code:
CString myString(_T("c:\Documents and Settings\joker\Desktop\Myfile.txt"));
It compiles fine but I received following warnings.....
warning C4129: 'D' : unrecognized character escape sequence
warning C4129: 'j' : unrecognized character escape sequence
warning C4129: 'D' : unrecognized character escape sequence
warning C4129: 'M' : unrecognized character escape sequence
Thanks
-
March 20th, 2009, 03:37 PM
#2
Re: CString
Wouldn't MSDN or your documentation be a better place to look first?
C4129
-
March 20th, 2009, 03:44 PM
#3
Re: CString
You were right. I should have looked little more there (:
It was \\ instead of \
-
March 20th, 2009, 05:00 PM
#4
Re: CString
A suggestion... for paths (in API params) / instead of \\ is ok these days.
-
March 20th, 2009, 06:00 PM
#5
Re: CString
I wished C++ had "verbose" strings like C#. Why don't they think at simple, but helpful things like that?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|