首页 > 其他 > 详细

error C2065: “uint16_t”: 未声明的标识符

时间:2020-03-21 16:51:32      阅读:290      评论:0      收藏:0      [点我收藏+]

 VS2010及之后版本直接添加#include <stdint.h>  ,2010之前的版本的安装目录下没有stdint.h,可以在高版本VS中输入 uint16_t 有点转到定义,将定义部分复制到低版本VS中即可使用。

技术分享图片
1 typedef signed char        int8_t;
2 typedef short              int16_t;
3 typedef int                int32_t;
4 typedef long long          int64_t;
5 typedef unsigned char      uint8_t;
6 typedef unsigned short     uint16_t;
7 typedef unsigned int       uint32_t;
8 typedef unsigned long long uint64_t;
View Code

 

error C2065: “uint16_t”: 未声明的标识符

原文:https://www.cnblogs.com/kwinwei/p/12539963.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!