.


:




:

































 

 

 

 





, .

.

(law-level languages) , .. ( ). ( , ).

(high-level languages) , . , (), .

, , . (machine code), , . (interpreter) , (compiler).

, . . .

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

, , , .

( ).

, . , . , , . , , .

. : . , , .

mov ah, 9

mov al, 33

mov bl, 1

mov bh,0

int 10h

1:

. . , , , BIOS (Basic Input-Output System ) . , , , , , , , , :

TextColor(1);

Write('!');

, .

. : 2000 4000. , . , , , - , . , .

, . , , - . IBM- . , - .

Windows Microsoft - . Windows . , Windows-API, , , , . . , , MS-DOS . , . MS-DOS ( , ), . Windows , . , .

Windows . . , Windows , . Windows , /, , . Windows . , , . Windows . , , , , , .

Windows . . , . RAD. , , MS Visual C++.

Visual C++ Windows. , , MS Developer Studio Visual C++ Windows. VC++ Microsoft Foudation Classes (MFC) ++. . VC++ . Windows . .

, - , . , RAD , , .

(, (query language); (report program generator)).

, . , .

, . , , , . :

- , .

- .

- .

- , .

, .

, , , . . . , . , .

, , , . , . , . , .

. , , , , , , . , , , . - , , .

for (int I=0; I>=10; I++) printf(" N\%d",I);

if (x < 0) printf("X- ");

switch (MenuItem){

case 1:printf(" ");

break;

case 2:printf(" ");

default:error();

}

2: ,

, , . , , , , , .

- , .

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

:

- -, ;

- , ;

- , , , .

, . , () , X Y. ? -, . -, . , , . . - .

class position{

private:

int x,y;

public:

void Init(int CoordX, int CoordY);

int GetX();

int GetY();

};

, . X Y. , , . , X, Y GetX, GetY position - . - . position.

class star: position{

private:

int Visible;

unsigned int Color;

public:

void Init(int, int, int);

int IsVisible();

void Show();

void Blind();

void Move(int, int);

}

star position. X, Y star, star .





:


: 2016-11-12; !; : 850 |


:

:

, .
==> ...

1915 - | 1784 -


© 2015-2024 lektsii.org - -

: 0.026 .