summaryrefslogtreecommitdiff
path: root/cercle.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 /cercle.h
parentb4f16386c70bfeab700e7cc129f2f04295aa0059 (diff)
Tout sauf les tests
Diffstat (limited to 'cercle.h')
-rw-r--r--cercle.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/cercle.h b/cercle.h
index d3eca66..c4a5923 100644
--- a/cercle.h
+++ b/cercle.h
@@ -1,3 +1,6 @@
+#ifndef __CERCLE_H__
+#define __CERCLE_H__
+
#include "forme.h"
class Cercle:Forme {
@@ -8,7 +11,9 @@ class Cercle:Forme {
~Cercle();
void setRayon(int r);
int getRayon();
- double getAire();
+ double aire();
double getPerimetre();
void afficher(ostream & s);
};
+
+#endif