1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| class Client
{private:
char *nom,*prenom,*adresse;
int codecl;
public:
Client();//CD
Client(char *name,char *lastname,char *adress, int codcl);//CE
~Client();
void afficher();
};
class Commande
{private:
char *DateCom;
int NumCom,codecl;
public:
Commande();//CD
Commande(char *DatCom, int codcl,int NuCom);//CE
~Commande();
void afficher();
};
class Produit
{private:
char RefProd;
char *designation;
int PrixU,QteStock;
public:
Produit();//CD
Produit(int RefPrd, char *dgtion, int QtStock, int PU);//CE
~Produit();
void afficher();
}; |
Partager