当前位置: 技术问答>linux和unix
unsigned short*到wchar_t的转换(linux)
来源: 互联网 发布时间:2017-05-27
本文导语: linux下unsigned short占2位 wchar_t是4位 那转换的话该怎么做 | unsigned short*到wchar_t*? pointer to pointer? it's irrelevant to sizes. The compiler doesn't allow you to do so because it considers two pointers ...
linux下unsigned short占2位 wchar_t是4位 那转换的话该怎么做
|
unsigned short*到wchar_t*? pointer to pointer?
it's irrelevant to sizes. The compiler doesn't allow you to do so because it considers two pointers refer to different type of data...So the pointer you have after type casting could be illegal.
it's irrelevant to sizes. The compiler doesn't allow you to do so because it considers two pointers refer to different type of data...So the pointer you have after type casting could be illegal.