stdint.h和inttypes.h区别 [英] difference between stdint.h and inttypes.h
本文介绍了stdint.h和inttypes.h区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是stdint.h和inttypes.h区别?
What is the difference between stdint.h and inttypes.h?
如果使用没有他们,uint64_t中不予确认,但与其中任何一个它是一个定义的类型。
If none of them is used, uint64_t is not recognized but with either of them it is a defined type.
推荐答案
使用stdint.h为一组定义最小;使用inttypes.h如果您还需要具有printf,scanf等这些便携式的支持。
Use stdint.h for a minimal set of definitions; use inttypes.h if you also need portable support for these in printf, scanf, et al.
这篇关于stdint.h和inttypes.h区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文