-
4.1.1 . 2. .1. .., .. , .. . .: , 2000. 82 .
4.1.2 " " . 2 . . 1. .., .. , .. , .. . .: , 2000. 48 .
4.1.3 . 2 . . 2. .. , .. , . . , . . , . . , . . , . . . .: , 2001 42 .
4.1.4 . I-40 01 02-02 . 2 . . 2 / .. [ .]. : , 2007. 108 .
4.1.5 " , " . .. .: , 2008. 52 .
4.2.1 : Pentium IV, RAM 512 , RAM 128 , 40 .
4.3.1 Microsoft Visual Studio 6.0 ( );
4.3.2 Microsoft Office Enterprise 2007 (c );
4.3.3 ERwin Data Modeler 7;
4.3.4 ERwin Process Modeler 7.
.
________________ ..
1.
, , , . , 4 : , , . , , , . , , , (. 1.1).
. 1.1.
, ( ). , , , .. , () . (character set). . Windows CP1251. (8 ), 28 = 256 . , , . . (, ), . Unicode, . , C++, Java, C#, Visual Basic.
|
|
, .
. , a + b + c .
, . :
int a; a = b + c;
a. a.
.
. . , .
. . . , , , . (. 1.2).
(.) |
(.) |
(.obj) |
(.exe) |
(.lib) |
(.h) |
. 1.2.
, , (, , ).
, , , . .
, , , (, ).
|
|
, . .exe .
:
a) , , ;
b) 0 9;
c) , +, *, {, & . ( @ $);
d) (, );
e) .
, :
1) ;
2) () ;
3) ;
4) ;
5) , : , , , , .
, , .
. , . , . , . , , system, System SYSTEM . . . . :
a = b * c; //
Cost = Price * Quantitty; // Stoi = Cena * Kol;
, . , . :
auto double int struct
break else long switch
case enum register typedef
char extern return union
const float short unsigned
continue for signed void
default goto sizeof volatile
do if static while
, (, , ). , . . - .
: +, -, *, /. , , , :
a = -5;
a = b 5;
. , , . , , . .
, , . :
, 0,1,,7. 8 9 . ( ):
0x 0X, 0,1,,9,A,B,C,D,E,F. ( ):
0x1
0x5D
0x55C
.
1) , . - , ( ), :
|
|
5.7
.001
357.
9.0
0. .0 0.0
2) ( ) . (E e), . 10, . , . :
1.32 = 1.3 × 102 = 130
.11-3 = 0.11 × 10-3 = 0.00011
510 = 5 × 1010 = 50000000000
, , , : A, , #, +, \n, \t. :
a) , , :
\a ,
\b ,
\f ,
\n ,
\r ,
\t ,
\v ;
b) : (\), (), (), (?). \ \\ \.
, . , , :
\112 ( , G)
\7 ( , \a - )
, x, :
\xF5 ( , G)
\x7 ( )
, :
x = 10 + A; //: x = 10 + 65;
, , :
є
\t x = 100\n
, , , , :
\ \
-, \0. . , 1. , A, A, ( 2 1). , (.. ) .
.
/* */. , , . .
2.
.
, . -. , , . :
|
|
1) , , ;
2) ( ).
, , . , .
. , . . , , , , , , .
, . :
1) int ();
2) char ();
3) float ();
4) double ( ).
, . , :
0 011100101(2) = 20 + 22 + 25 + 26 + 27 = 1 + 4 + 32 + 64 + 128 = 229(10)
, , . , . : , 0.381×104 381, 4; 560.3×102 = 0.5603×105 5603, 5; 0.012 = 0.12 ×10-1 12 -1.
, :
1) short ();
2) long ();
3) signed ();
4) unsigned ().
int
int , . 32- 4 ( 64- 8 ).
short int , 2 , long int , 4 . 32- int long int .
signed (0 , 1 ). unsigned , .
, signed . , short int, long int, unsigned int short, long, unsigned .
char
1 (8 ). char, , . ‑128 127. unsigned 0 255. .
32-
() | () | |
signed char (char) | -128... 127 | |
unsigned char | 0... 255 | |
signed short int (short) | -32 768... 32 767 | |
unsigned short int (unsigned short) | 0... 65 535 | |
signed long int (long) | -2 147 483 648... 2 147 483 647 | |
unsigned long int (unsigned long) | 0... 4 294 967 295 | |
signed int (int) | -2 147 483 648... 2 147 483 647 | |
unsigned int (unsigned) | 0... 4 294 967 295 |