37 lines
676 B
Plaintext
37 lines
676 B
Plaintext
//---------------------------------------------------------------------------
|
|
|
|
#ifndef UVetorH
|
|
#define UVetorH
|
|
class Vetor
|
|
{
|
|
private:
|
|
double *numero;
|
|
int *cor;
|
|
int tamanho;
|
|
int faixaDeValores;
|
|
|
|
public:
|
|
Vetor();
|
|
~Vetor();
|
|
void setNumero(double pNumero, int pPosicao);
|
|
double getNumero();
|
|
void setCor(int pCor, int pPosicao);
|
|
int getCor();
|
|
void setTamanho(int pTamanho);
|
|
int getTamanho();
|
|
void setFaixaDeValores(int pFaixaDeValores);
|
|
int getFaixaDeValores();
|
|
|
|
void carregarVetor(int pTamanhoDoVetor, int pFaixaDeValores);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------
|
|
#endif
|