令我惊讶的是,我刚刚发现 MS Visual Studio 2003 及更高版本中缺少 C99 stdint.h。我敢肯定他们有他们的理由,但有人知道我在哪里可以下载拷贝吗?如果没有这个 header ,我就没有有用类型的定义,例如 uint32_t 等。
最佳答案
原来您可以从以下位置下载此 header 的 MS 版本:
https://github.com/mattn/gntp-send/blob/master/include/msinttypes/stdint.h
可以在这里找到可移植的:
http://www.azillionmonkeys.com/qed/pstdint.h
感谢 Software Rambling的博客。
注意: Michael Burr 提到的 header 的公共(public)域版本在评论中,可以找到存档拷贝here .更新版本可在 the Android source tree for libusb_aah 中找到.
关于c++ - C99 stdint.h 头文件和 MS Visual Studio,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/126279/