.


:




:

































 

 

 

 





.

#; . include define.

# include , :

#include <stdio.h> -;

#include <conio.h> ;

#include <math.h> .

# define () , :

#define PI 3.1415927

PI 3,1415927.

/ ++ (: +,,*,/,%) .1.

.

: ID = ;

, .. , ID, : y=(x+2)/(3*x)5;

, : x = y = z = 0;

z = (x = y) * 5; x y, x *5, z.

: ID = e;

+, , *, /, %;:

s += 7; (s = s+7;) y *= x+3; (y = y*(x+3));

, .

/++ (--) (++), .. 1. (++ i -- i) (i ++ i --). , ( i), . , , b = 7 n = 1 :

1) c = b *++ n; : n = n +1, c = b * n, .. c = 14;

2) c = b * n ++; : c = b * n, n = n +1, .. c = 7.

 

C++ Builder

Builder , . , , . Builder , . 1.1.

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

( F 11) . Properties () , Events () , , .

Windows - , , , .

( Unit 1. cpp), , . , Windows -.

Builder , , , , , OnClick, OnCreate.

Events -, { } .

F 12.

C++ Builder

Builder , Project 1 .bpr, , Builder .

, Unit 1. cpp.

, () - () , , , . h. .dfm. , .

! , : *. bpr, *. h, *. cpp, *. dfm.

: (Unit 1 .cpp), (Project 1 .cpp), (Unit 1 .h) . 2.

 





:


: 2015-10-01; !; : 428 |


:

:

, , .
==> ...

2278 - | 1899 -


© 2015-2024 lektsii.org - -

: 0.012 .