first commit

This commit is contained in:
William Cardoso Simas committed 2026-11-18 10:27:27 -03:00
commit e4be8d7943
257 files changed
+129570

No files matched your search

@@ -0,0 +1,40 @@
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include <tchar.h>
//---------------------------------------------------------------------------
USEFORM("UFrmPrincipal.cpp", FrmPrincipal);
//---------------------------------------------------------------------------
WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
{
try
{
Application->Initialize();
Application->MainFormOnTaskBar = true;
Application->CreateForm(__classid(TFrmPrincipal), &FrmPrincipal);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
}
return 0;
}
//---------------------------------------------------------------------------
@@ -0,0 +1,46 @@
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include <tchar.h>
//---------------------------------------------------------------------------
USEFORM("UFrmPrincipal.cpp", FrmPrincipal);
USEFORM("UFrmEficienciaDeAlgoritmosDeOrdenacao.cpp", FrmEficienciaDeAlgoritmosDeOrdenacao);
//---------------------------------------------------------------------------
WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
{
try
{
Application->Initialize();
Application->MainFormOnTaskBar = true;
Application->CreateForm(__classid(TFrmPrincipal), &FrmPrincipal);
Application->CreateForm(__classid(TFrmEficienciaDeAlgoritmosDeOrdenacao), &FrmEficienciaDeAlgoritmosDeOrdenacao);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
}
return 0;
}
//---------------------------------------------------------------------------
@@ -0,0 +1,16 @@
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "UFrmEficienciaDeAlgoritmosDeOrdenacao.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TFrmEficienciaDeAlgoritmosDeOrdenacao *FrmEficienciaDeAlgoritmosDeOrdenacao;
//---------------------------------------------------------------------------
__fastcall TFrmEficienciaDeAlgoritmosDeOrdenacao::TFrmEficienciaDeAlgoritmosDeOrdenacao(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
@@ -0,0 +1,16 @@
object FrmEficienciaDeAlgoritmosDeOrdenacao: TFrmEficienciaDeAlgoritmosDeOrdenacao
Left = 0
Top = 0
Caption = 'An'#225'lise de efici'#234'ncia de algoritmos de ordena'#231#227'o'
ClientHeight = 213
ClientWidth = 455
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
end
@@ -0,0 +1,16 @@
object FrmEficienciaDeAlgoritmosDeOrdenacao: TFrmEficienciaDeAlgoritmosDeOrdenacao
Left = 0
Top = 0
Caption = 'An'#225'lise de efici'#234'ncia de algoritmos de ordena'#231#227'o'
ClientHeight = 527
ClientWidth = 812
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
end
@@ -0,0 +1,29 @@
object FrmEficienciaDeAlgoritmosDeOrdenacao: TFrmEficienciaDeAlgoritmosDeOrdenacao
Left = 0
Top = 0
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'An'#225'lise de efici'#234'ncia de algoritmos de ordena'#231#227'o'
ClientHeight = 529
ClientWidth = 814
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
FormStyle = fsMDIChild
OldCreateOrder = False
Position = poMainFormCenter
Visible = True
PixelsPerInch = 96
TextHeight = 13
object GroupBox1: TGroupBox
Left = 200
Top = 64
Width = 185
Height = 105
Caption = 'GroupBox1'
TabOrder = 0
end
end
@@ -0,0 +1,58 @@
object FrmEficienciaDeAlgoritmosDeOrdenacao: TFrmEficienciaDeAlgoritmosDeOrdenacao
Left = 0
Top = 0
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'An'#225'lise de efici'#234'ncia de algoritmos de ordena'#231#227'o'
ClientHeight = 485
ClientWidth = 814
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
FormStyle = fsMDIChild
OldCreateOrder = False
Position = poMainFormCenter
Visible = True
PixelsPerInch = 96
TextHeight = 13
object grpControles: TGroupBox
Left = 8
Top = 8
Width = 793
Height = 73
TabOrder = 0
object edtFaixaDeValores: TLabeledEdit
Left = 19
Top = 32
Width = 78
Height = 21
EditLabel.Width = 79
EditLabel.Height = 13
EditLabel.Caption = 'Faixa de valores'
TabOrder = 0
end
object edtTamanhoDoVetor: TLabeledEdit
Left = 120
Top = 32
Width = 89
Height = 21
EditLabel.Width = 88
EditLabel.Height = 13
EditLabel.Caption = 'Tamanho do vetor'
TabOrder = 1
end
end
object Chart1: TChart
Left = 8
Top = 96
Width = 793
Height = 321
Title.Text.Strings = (
'TChart')
TabOrder = 1
ColorPaletteIndex = 13
end
end
@@ -0,0 +1,58 @@
object FrmEficienciaDeAlgoritmosDeOrdenacao: TFrmEficienciaDeAlgoritmosDeOrdenacao
Left = 0
Top = 0
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'An'#225'lise de efici'#234'ncia de algoritmos de ordena'#231#227'o'
ClientHeight = 435
ClientWidth = 814
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
FormStyle = fsMDIChild
OldCreateOrder = False
Position = poMainFormCenter
Visible = True
PixelsPerInch = 96
TextHeight = 13
object grpControles: TGroupBox
Left = 8
Top = 8
Width = 793
Height = 73
TabOrder = 0
object edtFaixaDeValores: TLabeledEdit
Left = 19
Top = 32
Width = 78
Height = 21
EditLabel.Width = 79
EditLabel.Height = 13
EditLabel.Caption = 'Faixa de valores'
TabOrder = 0
end
object edtTamanhoDoVetor: TLabeledEdit
Left = 120
Top = 32
Width = 89
Height = 21
EditLabel.Width = 88
EditLabel.Height = 13
EditLabel.Caption = 'Tamanho do vetor'
TabOrder = 1
end
end
object Chart1: TChart
Left = 8
Top = 96
Width = 793
Height = 321
Title.Text.Strings = (
'TChart')
TabOrder = 1
ColorPaletteIndex = 13
end
end
@@ -0,0 +1,71 @@
object FrmEficienciaDeAlgoritmosDeOrdenacao: TFrmEficienciaDeAlgoritmosDeOrdenacao
Left = 0
Top = 0
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'An'#225'lise de efici'#234'ncia de algoritmos de ordena'#231#227'o'
ClientHeight = 435
ClientWidth = 814
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
FormStyle = fsMDIChild
OldCreateOrder = False
Position = poMainFormCenter
Visible = True
PixelsPerInch = 96
TextHeight = 13
object grpControles: TGroupBox
Left = 8
Top = 8
Width = 798
Height = 73
TabOrder = 0
object edtFaixaDeValores: TLabeledEdit
Left = 19
Top = 32
Width = 78
Height = 21
EditLabel.Width = 79
EditLabel.Height = 13
EditLabel.Caption = 'Faixa de valores'
TabOrder = 0
end
object edtTamanhoDoVetor: TLabeledEdit
Left = 120
Top = 32
Width = 89
Height = 21
EditLabel.Width = 88
EditLabel.Height = 13
EditLabel.Caption = 'Tamanho do vetor'
TabOrder = 1
end
end
object crtGraficoDeOrdenacao: TChart
Left = 8
Top = 96
Width = 798
Height = 321
Legend.Visible = False
Title.Text.Strings = (
'TChart')
BottomAxis.Title.Caption = 'Posi'#231#227'o'
LeftAxis.Title.Caption = 'Valor'
TabOrder = 1
ColorPaletteIndex = 13
object Series1: TBarSeries
Marks.Arrow.Visible = True
Marks.Callout.Brush.Color = clBlack
Marks.Callout.Arrow.Visible = True
Marks.Visible = True
XValues.Name = 'X'
XValues.Order = loAscending
YValues.Name = 'Bar'
YValues.Order = loNone
end
end
end
@@ -0,0 +1,21 @@
//---------------------------------------------------------------------------
#ifndef UFrmEficienciaDeAlgoritmosDeOrdenacaoH
#define UFrmEficienciaDeAlgoritmosDeOrdenacaoH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
//---------------------------------------------------------------------------
class TFrmEficienciaDeAlgoritmosDeOrdenacao : public TForm
{
__published: // IDE-managed Components
private: // User declarations
public: // User declarations
__fastcall TFrmEficienciaDeAlgoritmosDeOrdenacao(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrmEficienciaDeAlgoritmosDeOrdenacao *FrmEficienciaDeAlgoritmosDeOrdenacao;
//---------------------------------------------------------------------------
#endif
@@ -0,0 +1,22 @@
//---------------------------------------------------------------------------
#ifndef UFrmEficienciaDeAlgoritmosDeOrdenacaoH
#define UFrmEficienciaDeAlgoritmosDeOrdenacaoH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
//---------------------------------------------------------------------------
class TFrmEficienciaDeAlgoritmosDeOrdenacao : public TForm
{
__published: // IDE-managed Components
TGroupBox *GroupBox1;
private: // User declarations
public: // User declarations
__fastcall TFrmEficienciaDeAlgoritmosDeOrdenacao(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrmEficienciaDeAlgoritmosDeOrdenacao *FrmEficienciaDeAlgoritmosDeOrdenacao;
//---------------------------------------------------------------------------
#endif
@@ -0,0 +1,29 @@
//---------------------------------------------------------------------------
#ifndef UFrmEficienciaDeAlgoritmosDeOrdenacaoH
#define UFrmEficienciaDeAlgoritmosDeOrdenacaoH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <VCLTee.Chart.hpp>
#include <VCLTee.TeEngine.hpp>
#include <VCLTee.TeeProcs.hpp>
//---------------------------------------------------------------------------
class TFrmEficienciaDeAlgoritmosDeOrdenacao : public TForm
{
__published: // IDE-managed Components
TGroupBox *grpControles;
TChart *Chart1;
TLabeledEdit *edtFaixaDeValores;
TLabeledEdit *edtTamanhoDoVetor;
private: // User declarations
public: // User declarations
__fastcall TFrmEficienciaDeAlgoritmosDeOrdenacao(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrmEficienciaDeAlgoritmosDeOrdenacao *FrmEficienciaDeAlgoritmosDeOrdenacao;
//---------------------------------------------------------------------------
#endif
@@ -0,0 +1,31 @@
//---------------------------------------------------------------------------
#ifndef UFrmEficienciaDeAlgoritmosDeOrdenacaoH
#define UFrmEficienciaDeAlgoritmosDeOrdenacaoH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <VCLTee.Chart.hpp>
#include <VCLTee.TeEngine.hpp>
#include <VCLTee.TeeProcs.hpp>
#include <VCLTee.Series.hpp>
//---------------------------------------------------------------------------
class TFrmEficienciaDeAlgoritmosDeOrdenacao : public TForm
{
__published: // IDE-managed Components
TGroupBox *grpControles;
TChart *crtGraficoDeOrdenacao;
TLabeledEdit *edtFaixaDeValores;
TLabeledEdit *edtTamanhoDoVetor;
TBarSeries *Series1;
private: // User declarations
public: // User declarations
__fastcall TFrmEficienciaDeAlgoritmosDeOrdenacao(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrmEficienciaDeAlgoritmosDeOrdenacao *FrmEficienciaDeAlgoritmosDeOrdenacao;
//---------------------------------------------------------------------------
#endif
+21
View File
@@ -0,0 +1,21 @@
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "UFrmPrincipal.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TFrmPrincipal *FrmPrincipal;
//---------------------------------------------------------------------------
__fastcall TFrmPrincipal::TFrmPrincipal(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TFrmPrincipal::EvFecharSistemaOnClick(TObject *Sender)
{
Close();
}
//---------------------------------------------------------------------------
+27
View File
@@ -0,0 +1,27 @@
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "UFrmPrincipal.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TFrmPrincipal *FrmPrincipal;
//---------------------------------------------------------------------------
__fastcall TFrmPrincipal::TFrmPrincipal(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TFrmPrincipal::EvFecharSistemaOnClick(TObject *Sender)
{
Close();
}
//---------------------------------------------------------------------------
void __fastcall TFrmPrincipal::EvAtivarCreditosDeImagensOnClick(TObject *Sender)
{
//Imagem da tela principal
//http://diariodenoticias.com.br/images/20140512171443_Geral_-_Aprenda_a_programar_com_tr%C3%AAs_ferramentas_gratuitas.jpg
}
//---------------------------------------------------------------------------
+36
View File
@@ -0,0 +1,36 @@
object FrmPrincipal: TFrmPrincipal
Left = 0
Top = 0
Caption = 'Sistema de compara'#231#227'o de algoritmos'
ClientHeight = 266
ClientWidth = 455
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
FormStyle = fsMDIForm
Menu = mnmPrincipal
OldCreateOrder = False
WindowState = wsMaximized
PixelsPerInch = 96
TextHeight = 13
object mnmPrincipal: TMainMenu
Left = 168
Top = 96
object Eficincia1: TMenuItem
Caption = 'Efici'#234'ncia'
object Algoritmosdeordenao1: TMenuItem
Caption = 'Algoritmos de ordena'#231#227'o...'
end
object N1: TMenuItem
Caption = '-'
end
object Sair1: TMenuItem
Caption = 'Sair'
OnClick = EvFecharSistemaOnClick
end
end
end
end
+36
View File
@@ -0,0 +1,36 @@
object FrmPrincipal: TFrmPrincipal
Left = 0
Top = 0
Caption = 'Sistema de an'#225'lise de algoritmos'
ClientHeight = 266
ClientWidth = 455
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
FormStyle = fsMDIForm
Menu = mnmPrincipal
OldCreateOrder = False
WindowState = wsMaximized
PixelsPerInch = 96
TextHeight = 13
object mnmPrincipal: TMainMenu
Left = 168
Top = 96
object Eficincia1: TMenuItem
Caption = 'Efici'#234'ncia'
object Algoritmosdeordenao1: TMenuItem
Caption = 'Algoritmos de ordena'#231#227'o...'
end
object N1: TMenuItem
Caption = '-'
end
object Sair1: TMenuItem
Caption = 'Sair'
OnClick = EvFecharSistemaOnClick
end
end
end
end
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+28
View File
@@ -0,0 +1,28 @@
//---------------------------------------------------------------------------
#ifndef UFrmPrincipalH
#define UFrmPrincipalH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.Menus.hpp>
//---------------------------------------------------------------------------
class TFrmPrincipal : public TForm
{
__published: // IDE-managed Components
TMainMenu *mnmPrincipal;
TMenuItem *Eficincia1;
TMenuItem *Algoritmosdeordenao1;
TMenuItem *N1;
TMenuItem *Sair1;
void __fastcall EvFecharSistemaOnClick(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TFrmPrincipal(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrmPrincipal *FrmPrincipal;
//---------------------------------------------------------------------------
#endif
+34
View File
@@ -0,0 +1,34 @@
//---------------------------------------------------------------------------
#ifndef UFrmPrincipalH
#define UFrmPrincipalH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.Menus.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Imaging.jpeg.hpp>
//---------------------------------------------------------------------------
class TFrmPrincipal : public TForm
{
__published: // IDE-managed Components
TMainMenu *mnmPrincipal;
TMenuItem *Eficincia1;
TMenuItem *Algoritmosdeordenao1;
TMenuItem *N1;
TMenuItem *Sair1;
TImage *imgPrincipal;
TMenuItem *Crditos1;
TMenuItem *Imagens1;
TMenuItem *Desenvolvedor1;
void __fastcall EvFecharSistemaOnClick(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TFrmPrincipal(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrmPrincipal *FrmPrincipal;
//---------------------------------------------------------------------------
#endif
+35
View File
@@ -0,0 +1,35 @@
//---------------------------------------------------------------------------
#ifndef UFrmPrincipalH
#define UFrmPrincipalH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.Menus.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Imaging.jpeg.hpp>
//---------------------------------------------------------------------------
class TFrmPrincipal : public TForm
{
__published: // IDE-managed Components
TMainMenu *mnmPrincipal;
TMenuItem *Eficincia1;
TMenuItem *Algoritmosdeordenao1;
TMenuItem *N1;
TMenuItem *Sair1;
TImage *imgPrincipal;
TMenuItem *Crditos1;
TMenuItem *Imagens1;
TMenuItem *Desenvolvedor1;
void __fastcall EvFecharSistemaOnClick(TObject *Sender);
void __fastcall EvAtivarCreditosDeImagensOnClick(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TFrmPrincipal(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrmPrincipal *FrmPrincipal;
//---------------------------------------------------------------------------
#endif