没有合适的资源?快使用搜索试试~ 我知道了~
VS2010C++调用python报错无法打开包括文件:“inttypes.h”: No such file or direct...

温馨提示
VS2010没有inttypes.h文件,程序运行时无法打开包括文件:“inttypes.h”: No such file or directory,解决方案。
资源推荐
资源详情
资源评论

格式:zip 资源大小:5.3KB




格式:rar 资源大小:3.8KB











格式:pdf 资源大小:1.2MB 页数:9









#ifndef Py_PYPORT_H
#define Py_PYPORT_H
#include "pyconfig.h" /* include for defines */
//#include <inttypes.h>
#if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__)
#define CONFIG_WIN32
#endif
#if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(EMULATE_INTTYPES)
#define EMULATE_INTTYPES
#endif
#ifndef EMULATE_INTTYPES
//#include <inttypes.h>
//#else
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
#ifdef CONFIG_WIN32
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
#else /* other OS */
typedef signed long long int64_t;
typedef unsigned long long uint64_t;
#endif /* other OS */
#endif /* EMULATE_INTTYPES */
#define Py_PYPORT_H
#include "pyconfig.h" /* include for defines */
//#include <inttypes.h>
#if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__)
#define CONFIG_WIN32
#endif
#if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(EMULATE_INTTYPES)
#define EMULATE_INTTYPES
#endif
#ifndef EMULATE_INTTYPES
//#include <inttypes.h>
//#else
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
#ifdef CONFIG_WIN32
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
#else /* other OS */
typedef signed long long int64_t;
typedef unsigned long long uint64_t;
#endif /* other OS */
#endif /* EMULATE_INTTYPES */
//解决UINT64_C没定义的问题
#ifndef INT64_C
#define INT64_C(c) (c##LL)
#define UINT64_C(c) (c##ULL)
#endif
/**************************************************************************
Symbols and macros to supply platform-independent interfaces to basic
C language & library operations whose spellings vary across platforms.
Please try to make documentation here as clear as possible: by definition,
the stuff here is trying to illuminate C's darkest corners.
Config #defines referenced here:
SIGNED_RIGHT_SHIFT_ZERO_FILLS
Meaning: To be defined iff i>>j does not extend the sign bit when i is a
signed integral type and i < 0.
Used in: Py_ARITHMETIC_RIGHT_SHIFT
Py_DEBUG
Meaning: Extra checks compiled in for debug mode.
Used in: Py_SAFE_DOWNCAST
**************************************************************************/
/* typedefs for some C9X-defined synonyms for integral types.
剩余26页未读,继续阅读
资源评论

- 丰清航2019-08-01解决方案还行吧

qq_38114087
- 粉丝: 0
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 三、施工总进度(包括施工进度计划横道图、网络图)及保证措施.docx
- 光纤通信试题计算分析题练习.docx
- 改性塑料项目管理投资计划书.doc
- 中国网络安全行业市场现状及发展前景分析-全年市场规模或将超1700亿元.docx
- 统计工作在大数据背景下的发展机遇研究.docx
- 环境监察档案信息化管理探究.docx
- 互联网+农村初中家校共育转型例谈.docx
- 物业管理顾问项目管理经理指导手册汇编.doc
- 基于Moodle的大学计算机基础课程的混合式学习设计与实践研究.docx
- 武汉理工大学《通信工程应用技术课程设计》报告.doc
- 大数据背景下金融统计发展策略探究.docx
- 网格工程项目管理难点及对策.docx
- 异构网络资源协同调度-洞察研究.pptx
- 应用型中职计算机应用基础教学的改革与实践.docx
- 网络安全课程设计.docx
- 智慧城市对档案馆档案信息化的影响分析.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
