64,647
社区成员
发帖
与我相关
我的任务
分享
stdint.h
我被坑了很长时间了,我的编译器竟然不提示包含头文件,反而直接把uint8_t忽略了,结果导致一大堆莫名其妙的错误
/
****************************************************
Date types(Compiler specific) 数据类型(和编译器相关)
*****************************************************/
typedef unsigned char uint8; /* Unsigned 8 bit quantity */
typedef signed char int8; /* Signed 8 bit quantity */
typedef unsigned short uint16; /* Unsigned 16 bit quantity */
typedef signed short int16; /* Signed 16 bit quantity */
typedef unsigned int uint32; /* Unsigned 32 bit quantity */
typedef signed int int32; /* Signed 32 bit quantity */
typedef float fp32; /* Single precision */
/* floating point */
typedef double fp64; /* Double precision */
/* floating point */