小编TQC*_*ier的帖子

将char数组转换为unsigned char*

有没有办法转换char[]unsigned char*

char buf[50] = "this is a test"; 
unsigned char* conbuf = // what should I add here
Run Code Online (Sandbox Code Playgroud)

c++ type-conversion

6
推荐指数
2
解决办法
1万
查看次数

标签 统计

c++ ×1

type-conversion ×1