.


:




:

































 

 

 

 





int a [100];

b [100][100];

, 100 b, 100 100 .

++ StringGrid, ++ Pascal Basic [2].

1) , .

2) ++ , . , (0,1) , .

StringGrid cells. cells String, StrToInt, FloatToInt, - IntToStr, FloatToStr, FloatToStrF.

StringGrid FixedCols FixedRows . =1. .

.

1) StringGrid RowCount ColCount.

2) , .. .

3) StringGrid . , Options -> GoEditing -> True.

 

1. ( n*n) . . .

1. : Edit1, Label1, Label2, Button1, Button2, StringGrid.

2. :

Text Edit1  
Caption Label1 N=
Caption Label2 S=
Option StringGrid1 GoEditing
Caption Button1
Caption Button2

 

3. , , Close();

4. , :

 

 

5. N=3.

 

 

2. 1,,n, [3].

1. : Edit1, Edit2, Edit3 Label1, Label2, Label3, Button1, Button2.

2. :

Edit1 Text  
Edit2 Text  
Edit3 Text  
Label1 Caption
Label2 Caption
Label3 Caption
Button1 Caption
Button2 Caption

 

3. , , Close();

4. , :

 

 

5. .

 

:

 

 

1. ?

2. ?

3. ?

4. , ?

5. ++ ?

6. , StringGrid?

7. cells StringGrid?

 





:


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


:

:

! . .
==> ...

1699 - | 1486 -


© 2015-2024 lektsii.org - -

: 0.011 .