页首Html代码

返回顶部
摘要: 头段时间我的代码,有一个 unsigned char,我需要从sscanf 中读取字符串为这个值。但是一般char 是用%c的,我是要值得。所以我使用了%d %u来读,结果报警告:unsigned char a;sscanf("15","%u",&a);warning: format ‘%u’ expects type ‘unsigned int*’, but argument 3 has type ‘unsigned char*’警告挺烦人的,查了下,才发现自己没有注意过的细节:I'm trying to use this code t 阅读全文
posted @ 2013-12-16 18:36 ayanmw 阅读(14206) 评论(0) 推荐(1) 编辑

页脚Html代码