.


:




:

































 

 

 

 





C++ Builder. , , .

. 4.

, :

(.cpp) - c , .

h-(.h) - c , .

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

C++ Builder .dfm , . View as Text.

, - , . , . Delphi 2.0

C++ Builder Borland Delphi, . Delphi , Object Pascal. , , Delphi 2.0.

Delphi . C++ Builder Delphi, , Object Pascal, Delphi. ++ Builder -- ++ Object Pascal.

. 5. , ++ Builder

, Object Pascal. , - , Delphi 2.0 ++ Builder. Graphex Delphi 2.0. , Graphex - Graphwin.pas Bmpdlg.pas.

. 6. Delphi .

. , .

Delphi - *.dfm *.pas. , , .

Delphi. , , - : unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; type TForm1 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.DFM} procedure TForm1.Button1Click(Sender: TObject); begin close; end; end.

:

- . *.pas.

( interface). , , , , * , . . , , .

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

( initialization finalization) - , . uses () , interface implementation. uses .

, , Delphi Delphi. ++ Builder . Delphi ++ Builder - , . , -, , , . , .

* Pascal , ( , ). .., .. Borland ++ Builder

 





:


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


:

:

, .
==> ...

1684 - | 1511 -


© 2015-2024 lektsii.org - -

: 0.012 .