编号后缀短 [英] Number suffix for short
本文介绍了编号后缀短的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能重复:结果
我怎样写在C短立即++?
块引用>我可以使用
LL
重新present一个长长的电话号码,我可以使用U
重新present一个无符号数,等等。是否有一个数字后缀
短
键入<?/ p>解决方案C ++标准只给出了这些整数后缀(2.13.1)
无符号SUF网络连接X:之一
U U
长SUF网络连接X:之一
二
长隆-SUF网络连接X:之一
LL LL所以没有,对于短裤没有后缀。
Possible Duplicate:
How do I write a short literal in C++?I can use
ll
to represent a long long number, I can useu
to represent a unsigned number, etc.Is there a number suffix for
short
type?解决方案The C++ standard only gives these integer suffixes (2.13.1)
unsigned-suffix: one of u U long-suffix: one of l L long-long-suffix: one of ll LL
so no, there is no suffix for shorts.
这篇关于编号后缀短的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文