Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \\ ARQUIVO .H DA CLASSE POLIGONO.
- #ifndef POLIGONO_H
- #define POLIGONO_H
- #include <string>
- using namespace std;
- class Poligono
- {
- public:
- Poligono(int x,int y,int z,const string& s);
- virtual int area();
- void getCentro();
- string getCor();
- private:
- int centro[2];
- int zindex;
- string cor;
- };
- #endif // POLIGONO_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement