use*_*299 1 c arrays binary types
如何在C中的数组中存储16位二进制文件?我需要什么数据类型来制作数组?long int,float,char?例如 数据= {'1001111101110010','1001101011010101','1000000011010010'}
Fid*_*its 5
其中stdint.h是以下内容typedef:
stdint.h
typedef
uint16_t
此整数类型的宽度恰好是16位。您可以按如下方式使用它:
#include <stdint.h> uint16_t arr[NUM_ELEMENTS] = {...};
归档时间:
11 年,3 月 前
查看次数:
2555 次
最近记录: