Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- #ifndef RETANGULO_H
- #define RETANGULO_H
- class Retangulo
- {
- private:
- int largura, comprimento;
- public:
- Retangulo();
- Retangulo(int c, int l);
- ~Retangulo(){
- cout << endl;
- cout << "Destroyed obj" << endl;
- }
- int getLarg();
- int getComp();
- void setLarg(int l);
- void setComp(int c);
- bool is_valid(int c, int l);
- int area();
- int perimetro();
- void isQuad();
- void matrix(char borda[], char preenchimento[]);
- void leitura();
- void imprime();
- };
- #endif
Add Comment
Please, Sign In to add comment