, , , , , . .

 

 

!

 

:

:

 

 

 

?

StudentHelp, , MS Word. , , antiplagiat.ru, etxt.ru advego.ru. StudentHelp , Word .


:


:

: . : 19.10.2012. : 2012. : 32. antiplagiat.ru: < 30%

():


?

















:
:







:
. 810901
..
:
..






2010



堠 3
1. 堠 6
2. 򠠠 7
2.1. ( (), ,
, , ) 7
2.2. 8
2.2.1. 8
2.2.2. ⠠ 13
2.2.3.蠠 14
2.2.4. ࠠ 15
2.2.5. 蠠 16
2.2.6. 頠 17
2.3. 18
充...........23
............ 24
............25













++ 80- . : (1) ++ (2) - (), Simula 67.
++ - , - , . , . C, C- ( C C++; , C, C++ - , , , C, , ++).
, ++. -, , . -, - .
, , , . . - . , .
, . , . .
. , . . , .
, , . , . , .
, . , , . , .
C++ , , , , , , , (, ).

, , Excel Microsoft Office. . Excel.
: , , , .


















































1.
, . :
1) .
2) .
3) ().
4) ( , , ).
5) , .
6) .
7) ().
:
1) ;
2) ;
3) , ;
4) ;
5) , ;






2.

2.1. ( (), , , , )

:
Borland C++ Builder , C++ Builder (C++ Builder Language).
:
, .. .
:
.
:
? Windows 9x/ME/2000/XP/2003
? 16
? 1
? Pentium 133 MHz






2.2.
2.2.1.

4 :
class TMatrix {...}
;
class TForm1 : public TForm {...}

class TAboutBox1 : public TForm {...}
About;
class TAboutBox1 : public TForm {...}
;

TMatrix:
:
**_mat;
_NNUM1 _NNUM2 _mat;
:
:
1) void DeleteOldMatrix()
;
2) void InitNewMatrix1()
3x3;
3) void InitNewMatrix1(int M, int N)
MxN;

:
1) void InitRandom()
;
2) void InitZero()
;
3) void InitE()
, ;
:
1) void InitElem(int i, int j, int NewInt)
[i][j] NewInt;
2) int GetElem(int, int)
[i][j];
:
1) void MSumm(TMatrix &A, TMatrix &B)
A B;
2) void MDiff(TMatrix &A, TMatrix &B)
A B;
3) void MMult(TMatrix &A, TMatrix &B)
A B;
:
1) void MScalMult(int ScalInt)
ScalInt;
2) void MNegative()
-1;
3) void MTrans()
;

TForm1:
:
;
TMatrix:
- _Mat1, _Mat2 StringGrid 1 2 ;
- _Res - StringGrid3 ( );
- _Mem ;
, StringGrid1 2:
_SG1_R, _SG1_C, _SG2_R, _SG2_C;
TStringGrid *_SGFocus, ꠠ StringGrid ;
TMatrix *_MatFocus, StringGrid;
_Edit1Num Edit1( - );
_SGFocusInt StringGrid;
_Memory , ;

:
:
__fastcall TForm1(TComponent* Owner);

;
:
1) ReadMemory()
StringGrid ;
2) ReadForm()
_Mat1 _Mat2 StringGrid;
3) ReadMatrix();
StringGrid;
:
1) Print(int Index)
Index StringGrid ;
2) WriteMemory()
StringGrid;
3) WriteForm()
StringGrid3 _Res ( );
4) WriteMatrix()
StringGrid ;
1) SGRight(int SGNUM)
SGNUM StringGrid;
2) ExceptCatch(int ErrCode)


TAboutBox:
:
;

:
:
__fastcall TForm1(TComponent* Owner);

TAboutBox1:
:
*TLabel, ;

;

:
:
__fastcall TForm1(TComponent* Owner);


















2.2.2





























2.2.3.

( ) :

1) Unit1.h TForm1;
2) Unit2.h TMatrix;
3) Unit3.h TAboutBox;
4) Unit4.h TErrorBox;
5) Unit1.cpp TForm1 published;
6) File1.cpp TForm1 public( );
7) Unit2.cpp TMatrix;
8) Unit3.cpp TAboutBox;
9) Unit4.cpp TAboutBox1;
10) File2.h ;













2.2.4.

/ File1.cpp
StringGrid .
TMatrix StringGrid.
.
1) StringGrid ReadForm() _Mat1 _Mat2.
2) _Res _Mat1 _Mat2 TMatrix MSumm(TMatrix, TMatrix).
3) _Res WriteForm().















2.2.5

2.2.6.

.
6 :
1: ( ).
2: ( ).
3: ( ).
4: ( Edit ).
5: ( ).
10: TMatrix ( ). .
ExceptCatch(int ErrorCode), TErrorBox1 .


2.3.

.
, . , .(. 1)


. 1- .

( ) .
, (. 2) (. 2,) .
+ -. (2.) , (. 2) .

. 2- .


.
:
1.
2. .


. 3- .


.
, (. 2) (. 3) .
1 , .
(. 3): .

.
, ,
(. 4).
* - (. 4);
+ - (. 4);
- - (. 4);
- (. 4);


. 4- .


.
(. 5).
Ż - (. 5);
0 - (. 5);
Rand - (. 5);
Integer - (. 5)
- ջ - 1(. 5);
* ѻ - (. 5);
^ C - ( )(. 5);
һ - (. 5);



. 5-

.
, .
.
(. 6) .


. 6 -

( ) ѻ(. 7), .

. 7 -

.
.

(. 8)
̻. ̻.
R.
ѻ. ̻ .


. 8 .
, .


. 9 -


-
Windows Borland C++ Builder.
, , Windows , -.
, . .










1. C++ . , ,2002.
2. . ++. .:BHV -, 1996.
3. . ++; , 2004.
4. ++ , -, 2004.
5. .. /++ , 2004.
6. . ѻ. . 1991
7. . λ. . ./ . . .- .: , 1993.
8. . ./ . .. . . - .: , 1991.
9. , / .., .., ..: . :. .-, 1987.
10. ., . : . . .: , 1988.
11. .. . .:, 1980.
12. . ++. , 2003.
13. .. ++ ; ; 2003
14. .. /++ ; , 2004.
15. http://www.parallel.ru
16. http://www.rusmath.ru



.



Project1.cpp
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
//---------------------------------------------------------------------------
USEFORM("Unit1.cpp", Form1);
USEFORM("Unit3.cpp", AboutBox);
USEFORM("Unit4.cpp", AboutBox1);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
Application->CreateForm(__classid(TForm1), &Form1);
Application->CreateForm(__classid(TAboutBox), &AboutBox);
Application->CreateForm(__classid(TAboutBox1), &AboutBox1);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
}
return 0;
}
//---------------------------------------------------------------------------


Unit1.h

//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
#ifndef File1H
#define File1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "CSPIN.h"
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include "Unit2.h"
class TMatrix;
//---------------------------------------------------------------------------
class NSquare {};
class InsideError {};
class NRightSize {};
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TPanel *Panel1;
TStringGrid *StringGrid1;

TPanel *Panel2;
TStringGrid *StringGrid2;

TPanel *Panel3;
TStringGrid *StringGrid3;


TPanel *Panel11;
TButton *Button0;

TGroupBox *GroupBox12;
TEdit *Edit1;

TPanel *Panel13;
TButton *ButtonC;

TGroupBox *GroupBox14;
TButton *Button2;
TButton *Button3;
TLabel *Label3;

TPanel *Panel15;
TButton *Button7;
TButton *Button6;
TButton *Button5;

TPanel *Panel16;
TButton *Button17;
TButton *Button15;
TButton *Button16;
TButton *Button11;
TButton *Button12;
TEdit *Edit1_1;
TButton *Button1_1P;
TButton *Button1_1M;
TButton *Button1_2P;
TButton *Button1_2M;
TEdit *Edit1_2;
TButton *Button2_1P;
TButton *Button2_1M;
TEdit *Edit2_1;
TButton *Button2_2P;
TButton *Button2_2M;
TEdit *Edit2_2;
TButton *Button3_2;
TButton *Button3_1;
TLabel *Label3_1;
TLabel *Label3_2;
TButton *Button10;
TButton *Button18;
TLabel *Label1;
TLabel *Label2;
TButton *Button8;
TButton *Button1;
TLabel *Label4;
TLabel *Label5;
TLabel *Label6;
TLabel *Label7;
TLabel *Label8;
TLabel *Label9;


void __fastcall Button6Click(TObject *Sender);
void __fastcall Button5Click(TObject *Sender);
void __fastcall Button7Click(TObject *Sender);
void __fastcall Button3_1Click(TObject *Sender);
void __fastcall Button3_2Click(TObject *Sender);
void __fastcall ButtonCClick(TObject *Sender);
void __fastcall Button15Click(TObject *Sender);
void __fastcall Button1_1PClick(TObject *Sender);
void __fastcall Button1_1MClick(TObject *Sender);
void __fastcall Button1_2PClick(TObject *Sender);
void __fastcall Button1_2MClick(TObject *Sender);
void __fastcall Button2_1PClick(TObject *Sender);
void __fastcall Button2_1MClick(TObject *Sender);
void __fastcall Button2_2PClick(TObject *Sender);
void __fastcall Button2_2MClick(TObject *Sender);
void __fastcall StringGrid1Click(TObject *Sender);
void __fastcall StringGrid2Click(TObject *Sender);
void __fastcall Button16Click(TObject *Sender);
void __fastcall Button12Click(TObject *Sender);
void __fastcall Button11Click(TObject *Sender);
void __fastcall StringGrid1Exit(TObject *Sender);
void __fastcall StringGrid2Exit(TObject *Sender);
void __fastcall Button10Click(TObject *Sender);
void __fastcall Button17Click(TObject *Sender);
void __fastcall Button3Click(TObject *Sender);
void __fastcall Button8Click(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
void __fastcall Button1Click(TObject *Sender);
void __fastcall Button0Click(TObject *Sender);

p
..................



90% antiplagiat.ru, etxt.ru advego.ru




* . , .