blob: 125419329f2727b908ee94f024419c1ad50b38bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef __CERCLE_H__
#define __CERCLE_H__
#include "forme.h"
class Cercle:public Forme {
private:
int rayon;
public:
Cercle(int x=0, int y=0, int r=1);
~Cercle();
void setRayon(int r);
int getRayon();
double aire();
double getPerimetre();
void afficher(ostream & s);
};
#endif
|