Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] web/email now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as C++ by registered user raphael ( 1 year ago )
#ifndef GEOMETRIE_H
#define GEOMETRIE_H

enum forme {cercle, triangle, rectangle};

class Geometrie
{
public:
    forme maforme;
    int rayon;
    int longueur;
    int largeur;

    Geometrie();
    void createCercle(int rayon);
    void createRectangle(int c, int l);
    int aire();
    void toString();
};

#endif // GEOMETRIE_H

 

Revise this Paste

Your Name: Code Language: