摘要:
如果:char test = 0xFF; 此时:test != 0xFF;//因为test为char类型,0xFF为int,所以编译器会将test转为int(-1),所以不等于 如果:uchar test = 0xFF; 此时:test == 0xFF;//同样因为test为uchar类型,0xFF 阅读全文
posted @ 2017-04-26 17:33
朱小勇
阅读(697)
评论(0)
推荐(0)
摘要:
QT里没有没有byte数据类型的 自己定义:#define byte unsigned char 阅读全文
posted @ 2017-04-26 15:44
朱小勇
阅读(1504)
评论(0)
推荐(0)
摘要:
struct _FileInfo{ int fileSizeGB; int fileSizeMB; int fileSizeKB; int fileSizeBYTE; char fileName[32];//文件名称 char fileSuffix [6];//文件后缀 }FileInfo; 这里的 阅读全文
posted @ 2017-04-26 10:44
朱小勇
阅读(190)
评论(0)
推荐(0)