summaryrefslogtreecommitdiff
path: root/rectangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'rectangle.h')
-rw-r--r--rectangle.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/rectangle.h b/rectangle.h
index 3bdc8a1..0c85119 100644
--- a/rectangle.h
+++ b/rectangle.h
@@ -1,3 +1,6 @@
+#ifndef __RECTANGLE_H__
+#define __RECTANGLE_H__
+
#include "forme.h"
class Rectangle:public Forme{
@@ -12,6 +15,8 @@ class Rectangle:public Forme{
Coordonnee getAncrageForme();
void setLargeur(int l);
void setHauteur(int h);
- double getAire();
+ double aire();
void afficher(ostream &s);
};
+
+#endif