在Visual C ++中相当于int32_t是什么? [英] What's the equivalent of int32_t in Visual C++?

查看:174
本文介绍了在Visual C ++中相当于int32_t是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual C ++ 2010包括< cstdint>

; ,其中包括typedef std :: int32_t (也可以包括< stdint.h>

如果您使用的是较早版本的Visual C ++,您可以使用Boost's < cstdint> 实施


What's the equivalent of int32_t in Visual C++?

解决方案

Visual C++ 2010 include <cstdint>, which includes typedef std::int32_t (you can also include <stdint.h> which has the same typedef in the global namespace).

If you are using an older version of Visual C++, you can use Boost's <cstdint> implementation.

这篇关于在Visual C ++中相当于int32_t是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆