summaryrefslogtreecommitdiff
path: root/cercle.h
diff options
context:
space:
mode:
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