unsigned int支持 [英] unsigned int support

查看:73
本文介绍了unsigned int支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,


我可以知道可以支持FFFF FFFF FFFF的数据类型

FFFF(18,446,744,073,709,551,615)。我已经使用<声明变量

无符号整数类型,支持FFFF

FFFF(4,294,967,295).pls建议我..


提前致谢,

faz

Dear all,

May i know the data type which can support FFFF FFFF FFFF
FFFF(18,446,744,073,709,551,615).I have declared a variable using
unsigned integer type which is supporting upto FFFF
FFFF(4,294,967,295).pls suggest me..

Thanks in advance,
faz

推荐答案

8月7日上午9:01,faz< fazulu.v .. 。@ gmail.comwrote:
On Aug 7, 9:01 am, faz <fazulu.v...@gmail.comwrote:

亲爱的,


我可以知道可以支持FFFF FFFF FFFF的数据类型

FFFF(18,446,744,073,709,551,615)。我已经使用

无符号整数类型声明了一个变量,它支持FFFF

FFFF(4,294,967,295).pls建议我..


在此先感谢,

faz
Dear all,

May i know the data type which can support FFFF FFFF FFFF
FFFF(18,446,744,073,709,551,615).I have declared a variable using
unsigned integer type which is supporting upto FFFF
FFFF(4,294,967,295).pls suggest me..

Thanks in advance,
faz



数据类型的大小以及范围它们可以表示的值是b $ b代表的实现定义。 < climits中定义的宏INT_MAX和UINT_MAX

将让您知道编译器定义的整数

类型的最大值。

-N

Sizes of datatypes and also the range of the values that they can
represent are implementation defined. The macros INT_MAX and UINT_MAX
defined in <climitswill let you know the maximum value an integral
type defined by your compiler.
-N


8月7日上午7:10,Alf P. Steinbach < al ... @ start.nowrote:
On Aug 7, 7:10 am, "Alf P. Steinbach" <al...@start.nowrote:

否,long long我还不是标准的一部分,
No, "long long" i''s not yet part of the standard,



这取决于哪个标准:它在C99中,在当前的草案中

C ++标准,以及我所知道的每一个当前的C ++编译器。

除非你明确地要处理旧的编译器(例如

VC ++ 6.0),否则几乎可以计算在它上面。


-

James Kanze(GABI软件)电子邮件:ja ********* @ gmail.com

Conseils eninformatiqueorientéeobjet/

Beratung in objektorientierter Datenverarbeitung

9placeSémard,78210 St.-Cyr-l''coco,France,+ 33 (0)1 30 23 00 34

That depends which standard: it''s in C99, in the current draft
C++ standard, and in every current C++ compiler I know of.
Unless you explicitly have to deal with older compilers (e.g.
VC++ 6.0), you can pretty much count on it.

--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l''école, France, +33 (0)1 30 23 00 34


Alf P. Steinbach写道:
Alf P. Steinbach wrote:

* James Kanze:
* James Kanze:

> 8月7日上午7:10,Alf P. Steinbach < al ... @ start.nowrote:
>On Aug 7, 7:10 am, "Alf P. Steinbach" <al...@start.nowrote:

>> No,long long"我还不是标准的一部分,
>>No, "long long" i''s not yet part of the standard,


这取决于哪个标准:它是在C99中,在当前的草案中使用的C ++标准,以及每个当前的标准我知道的C ++编译器。
除非你明确地要处理旧的编译器(例如
VC ++ 6.0),否则你几乎可以依赖它。


That depends which standard: it''s in C99, in the current draft
C++ standard, and in every current C++ compiler I know of.
Unless you explicitly have to deal with older compilers (e.g.
VC++ 6.0), you can pretty much count on it.



这个组的标准是当前的C ++标准。


没有long long在标准中。


The standard for this group is the current C++ standard.

There''s no "long long" in the standard.



但它已经无处不在,很容易测试。


-

Ian Collins。

But it has become ubiquitous and it is easy to test for.

--
Ian Collins.


这篇关于unsigned int支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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