summaryrefslogtreecommitdiff
path: root/rectangle.h
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-01-13 02:34:01 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2023-01-13 02:34:01 -0500
commit3fb8effa3603e9a9b96d263009fc1397433436ba (patch)
treeae4d7bf573f69245713b07c253a8027ace8d5244 /rectangle.h
parentb4f16386c70bfeab700e7cc129f2f04295aa0059 (diff)
Tout sauf les tests
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