# error wide character array initialized from non-wide string
error wide character array initialized from non-wide string
这个错误的本质应该是因为用uint16_t去初始化string导致的
即在C语言string如果定义如下:
uint8_t/*char*/ string_test[]= "Hello World"是可以的
因为实际上char和uint8_t是一样的
但是如下是不可以的
uint...
原创
2019-03-10 22:05:37 ·
3319 阅读 ·
0 评论