Old stuff/ecole_etude_fac_de_pau/licence_3/genie-logiciel/td2/article.h
(Deskargatu)
#include <stdio.h>
#include <stdlib.h>
typedef struct
{
char ref[5];
float prix;
unsigned int garantie;
unsigned int promotion;
unsigned int stock;
unsigned int delai_acheminement;
unsigned int delai_fournisseur;
} article;
typedef struct
{
char nom[50];
article* articles[6];
char dates[6][6];
int paye[6];
int nb_demande;
int livre[6];
} client;
article* livrer(article*, client*);
article* approvisionner(article*,int);
article* promotionner(article*,int);
float prix(article*);
char* ref(article*);
int delai_fournisseur(article*);
int garantie(article*);
int prix_promo(article*);
int stock(article*);
int rupture(article*);
int delai_acheminement(article*,client*);
char* date_commande(article*,client*);
client* enregistrer(article*,client*,char*);
client* facturer(article*, client*,char*);
char* date_livraison(article*,client*);
int taux(article*);