3GL   4GL   5GL   .

-

- () , . , .

, . , . , , c . , , . ? ? , ? , , .

, - . , , , .

, , . , . , " 64 ". ( -6, IBM/360, 32 ). . "" "", .

, , , .

: , ? , . . , .. , . .

, . , , .

, char, integer, float..

(integer). . :

+ ,
- ,
* ,
/ ,
% .

, . .

, , , , , . , .

, int , max (|x| <= max), , , add,

x add y = x + y

, |x + y| <= max. , , , .

(x add y) add z = x add (y add z)

, |x add y| <= max |y add z| <= max.

, max = 100 x = 60, y = 50 z = -40.

60 add (50 add (-40)) = 70

(60 add 50) add (-40) .

, , , . , n , log2(n) . , , , - , . : 16 . , ( ) 65535 (216 - 1). , , .

(char). . , , . ( ). :

ASCII 26 , 10 , , , . 128 , . . , Carriage Return Line Feed . 128 128 255 . . de facto . , , . , . , , . ( IBM PC XT) .

. , . , char 0 255, -128 +127. (, BASIC).

UNICODE.

, . , 26 - 33 . , , ? , , , . . , , Unicode. Apple Xerox 1988 . 1991 , Hardware Software. Unicode . 16- . . 65536 . . 34000 . . :

0000 - 007F ASCII
0080 - 00FF ASCII (Latin 1)
0100 - 017F
0180 - 01FF
0250 - 02AF
02B0 - 02FF
0300 - 03FF
0370 - 03FF
0400 - 04FF
0530 - 058F
0590 - 05FF
0600 - 06FF
0900 - 097F

29000 , . 6000 .

(real, float, double ) , . , , , . .

, . .

, real , ; .

, , , . . , , .

, , , . , , . ( float)

x e m, ,

x = m * Be, -E < e < E, -M < m < M

m , e - , B, E M , . B . B 10 ( ), 2.

x (m, e).

(M/B)<=|m|<M

|x|. , [0.1: 1] , [10000 : 100000]. ( 10 ).

. , float. :

  1. float
  2. x float, .
  3. float , .
  4. max, , |x| > max .
  5. float 0.
  6. , .

  7. x + y = y + x, x * y = y * x

  8. x >= y >= 0 (x - y) + y = x
  9. 0

    x - y = x + (-y) = - (y - x)

    ( -x ) * y = x * ( -y ) = - (x * y )

    ( -x ) / y = x / ( -y ) = - (x / y )

  10. 0 <= x <= a 0 <= y <= b

    x + y <= a + b, x - b <= a - y,

    x * y <= a * b/ x / b <= a / y

, . . . , 4 ( )

x = 9.900 y = 1.000 z = -0.999
1. (x + y) + z = 10.90 + (-0.999) = 9.910
2. x + (y + z) = 9.900 + 0.001 = 9.901

.

. , . , , .

. . , . , abs (t/x) <= eps, abs(t) <= eps * abs(x). .

, - . . .

, , .

, ( , , ), - .

. , - , , , , .

. . , , . , . . , int. , .

enum {1,...,n};
enum TColor {WHITE, YELLOW, RED, GREEN, BLUE, BLACK};

Tcolor color1 = WHITE, color2;
color2 = color1;

. . . , . :

1. ,

2. .

- ().

. , , - . , , :

1. .

2. .

- , . , , .

, . , .

( ) ( ). - "". , - , , .

[ ].

[];

, . . , , . , , . , , , .

,

struct
{
1 1;

n n;
};

. . : , , . TDate :

enum TMonth {Jan, Feb, Mar, ..., Dec};
struct Tdate
{
int Year;
TMonth Month;
int Day;
};

TDate BirthDay[10];
BirthDay[3].Year = 1256;
BirthDay[3].Month = Jan;
BirthDay[3].Day = 22;

68 union , , . . , . .

, , . . , . union struct.

union
{
1 1;

n n;
};

, , set (), .

, pointer. , , , , . - , . , . , , , , , . , , . . , , (void). void . , .

. , . , . , , (), ?

- ? , " + = ", - , . , , .

, , (" ") , . , , . - .

: - , ( ) . , 68 , .

[1] .

  1. ,
  2. .
  3. , , , , .
  4. .
  5. .
  6. - , : , , , ,

, : , . - , , . - , . - : , , "" .

, , , , ; ; .

, , , .

        3GL   4GL   5GL   .

, - . , , .




 10.11.2021 - 12:37: - Personalias -> WHO IS WHO - - _.
10.11.2021 - 12:36: - Conscience -> . ? - _.
10.11.2021 - 12:36: , , - Upbringing, Inlightening, Education -> ... - _.
10.11.2021 - 12:35: - Ecology -> - _.
10.11.2021 - 12:34: , - War, Politics and Science -> - _.
10.11.2021 - 12:34: , - War, Politics and Science -> . - _.
10.11.2021 - 12:34: , , - Upbringing, Inlightening, Education -> , - _.
10.11.2021 - 09:18: - New Technologies -> , 5G- - _.
10.11.2021 - 09:18: - Ecology -> - _.
10.11.2021 - 09:16: - Ecology -> - _.
10.11.2021 - 09:15: , , - Upbringing, Inlightening, Education -> - _.
10.11.2021 - 09:13: , , - Upbringing, Inlightening, Education -> - _.
Bourabai Research -  XXI Bourabai Research Institution