Convert a 'const wchar_t *' to 'unsigned char *'

前端 未结 3 1769
鱼传尺愫
鱼传尺愫 2021-01-19 18:41

In C++ is it possible to convert a \'const wchar_t *\' to \'unsigned char *\'?

How can I do that?

wstring dirName;
unsigned char* dirNameA = (unsigne         


        
3条回答
提交回复
热议问题