Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TP3_300
- #ifndef Header_h
- #define Header_h
- #include <iostream>
- using namespace std;
- class Rectangle
- {
- private:
- int m_x; //initialisation des attributs
- int m_y;
- public:
- Rectangle(); //constructeur
- Rectangle(int x,int y);
- ~Rectangle(); //destructeur
- int perimetre();
- int aire();
- void display();
- int getm_x() const;
- int getm_y() const;
- };
- #endif /* Header_h */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement