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

+41
View File
@@ -0,0 +1,41 @@
//---------------------------------------------------------------------------
#ifndef UVetorH
#define UVetorH
class Vetor{
private:
double *numeros;
double *numerosOrdenados;
int *cores;
int *coresOrdenadas;
int tamanhoDoVetor;
int faixaDeValores;
public:
/*------------------------CONSTRUTORES E DESTRUTORES-------------------------*/
Vetor();
~Vetor();
/*-----------------------------GETTER AND SETTER-----------------------------*/
void setNumero(double pNumero, int pPosicao);
double *getNumero();
void setCor(int pNumero, int pPosicao);
int *getCor();
void setTamanhoDoVetor(int pTamanho);
int getTamanhoDoVetor();
void setFaixaDeValores(int pFaixa);
int getFaixaDeValores();
/*-----------------------------------WORK------------------------------------*/
void dimensionarVetor();
void carregarVetor();
void ordenarVetorPorSelecao();
};
//---------------------------------------------------------------------------
#endif