|
-
March 4th, 2005, 12:01 PM
#1
wchar_t doesn't accept slashes ?!
I'm confused about constructing a wchar_t containing slashes...
I tried the following:
const wchar_t* myString = L"/test1/test2";
...but what I get is myString containing only "test2"!
I tried everything like '\\ // \ /' but myString always only contains "test2"
Could it be a problem of preprocessor definition _MBCS in VC++?
-
March 4th, 2005, 12:06 PM
#2
Re: wchar_t doesn't accept slashes ?!
Where you are displaying that value? I tried that code and place into watch window (myString,su) and its shows correct value!
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
|