wchar_t*显示的为什么是地址而不是字符串呢?该怎么处理
wchar_t*显示的为什么是地址而不是字符串呢??
wchar_t *p=L "hello ";
cout < <p < <endl;
是char的话,输出的应该是hello,可是wchar,怎么输出的是地址呢??
------解决方案--------------------
wcout < <p < <endl;
wchar_t *p=L "hello ";
cout < <p < <endl;
是char的话,输出的应该是hello,可是wchar,怎么输出的是地址呢??
------解决方案--------------------
wcout < <p < <endl;