From b4f16386c70bfeab700e7cc129f2f04295aa0059 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Thu, 12 Jan 2023 23:40:59 -0500 Subject: vecteur est fomrmes sont finis --- cercle.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 cercle.h (limited to 'cercle.h') 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); +}; -- cgit v1.2.3