first commit
This commit is contained in:
commit
e4be8d7943
257 files changed
+129570
No files matched your search
@@ -0,0 +1,45 @@
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#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 setNumerosOrdenados(double pNumero, int pPosicao);}
|
||||
double *getNumerosOrdenados();
|
||||
|
||||
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
|
||||
Reference in new issue
Block a user