Click here to Skip to main content
15,887,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to convert from WChar to CString but I don't know how I can do

What I have tried:

I'm searching on internet but I don't find..I found conversion from WCHAR and w_char but I don't find WChar
Posted
Updated 12-Dec-23 22:16pm
v2
Comments
CPallini 13-Dec-23 4:38am    
What is a WChar? Never heard of it. Could you please post its declaration?
Richard MacCutchan 13-Dec-23 5:52am    
Please use the Improve question link above, and add complete details of what is not working.

You may searched the wrong places. Use the std:wstring class. It has some cstring function.

It is always a good idea to learn the basics, like the std-library.
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900