.


:




:

































 

 

 

 


,




, , , , .. () - . :

- , , [1, 3];

- ;

- ;

- ;

- .

, , . , , . , ( ), . .

:

;

, ;

, .

. - .

, .

ANSI , :

:

:

unsigned char 8 ;

unsigned short 16 ;

unsigned int - 32 ( Win32);

unsigned long 32 ( Win32);

:

char 8 ;

short 16 ;

int - 32 ( Win32);

long 32 ( Win32);

:

float 32 ;

double 64 ;

long double 80 .

1.

char (unsigned char) . , . ASCII, , .

Microsoft , , - , , ( ):

__int8 unsigned __int8

__int16 unsigned __int16

__int32 unsigned __int32

__int64 (long long) unsigned __int64 (unsigned long long)

Microsoft , :

bool 1 , true (1) false (0);

wchar_t 2 ( unsigned short), Unicode (1 2 ).

1

,
unsigned char   0...255
char   -128...127 ASCII-
unsigned short   0...65535
short   -32768...32767
unsigned int   0...4294967295
int   -2147483648......2147483647
unsigned long   0...4294967295
long   -2147483648......2147483647
float   3.4-38... 3.4+38 (7 )
double   1.7-308... ..1.7+308 (15 )
long double   3.4-4932......1.1+4932 (19 )

 





:


: 2016-11-18; !; : 554 |


:

:

- , .
==> ...

1551 - | 1350 -


© 2015-2024 lektsii.org - -

: 0.011 .