diff options
Diffstat (limited to 'cercle.h')
-rw-r--r-- | cercle.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cercle.h b/cercle.h new file mode 100644 index 0000000..d3eca66 --- /dev/null +++ b/cercle.h @@ -0,0 +1,14 @@ +#include "forme.h" + +class Cercle:Forme { + private: + int rayon; + public: + Cercle(int x, int y, int r); + ~Cercle(); + void setRayon(int r); + int getRayon(); + double getAire(); + double getPerimetre(); + void afficher(ostream & s); +}; |