Advertisement
Draegon

Poligono.h

Nov 24th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. \\ ARQUIVO .H DA CLASSE POLIGONO.
  2. #ifndef POLIGONO_H
  3. #define POLIGONO_H
  4.  
  5. #include <string>
  6.  
  7. using namespace std;
  8.  
  9. class Poligono
  10. {
  11.     public:
  12.         Poligono(int x,int y,int z,const string& s);
  13.         virtual int area();
  14.         void getCentro();
  15.         string getCor();
  16.  
  17.  
  18.     private:
  19.         int centro[2];
  20.         int zindex;
  21.         string cor;
  22. };
  23.  
  24. #endif // POLIGONO_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement