This commit is contained in:
Adrien Van 2017-02-03 20:26:03 +01:00
parent a5d525111c
commit 883f0bddf7
1 changed files with 0 additions and 4 deletions

View File

@ -57,7 +57,6 @@ int main()
do
{
printf("%u\n", panier.nbrArt);
if(panier.nbrArt <= __MAXNBRART__)
{
encoderArticle(&(panier.article[panier.nbrArt-1]));
@ -66,7 +65,6 @@ int main()
scanf("%c", &continuer);
if(panier.nbrArt < 3 && (continuer|0b00100000) == 'y')
{
printf("%u\n", panier.nbrArt);
panier.nbrArt++;
Article * tempArticle;
tempArticle = (Article*)realloc(panier.article, sizeof(Article)*(panier.nbrArt));
@ -195,11 +193,9 @@ int DateValide(int j, int m, int a)
}
}
void afficherArticle(Article * article, unsigned int nbrArt,FILE * file)
{
unsigned int i;
printf("%u\n", nbrArt);
float prixTot=0;
fprintf(file,"\n|---------------------------------------------------------------------------------------------|\
\n| Designation | prixHTVA | Quantite | 10%% | prixTVAC |");