Add Beginning of Compress Function

This commit is contained in:
NyxiumYuuki 2019-12-07 21:54:27 +01:00
parent ab7f63447a
commit d89bc3383e
No known key found for this signature in database
GPG key ID: 03E8F3CF3183323A
7 changed files with 24 additions and 17 deletions

View file

@ -41,9 +41,9 @@ bool est_arbre_vide(arbre a)
return (a == NULL) ;
}
arbre creer_feuille(Elt e)
arbre creer_feuille(Elt e, int p)
{
return creer_arbre(e, creer_arbre_vide(), creer_arbre_vide()) ;
return creer_arbre_huffman(e, p, creer_arbre_vide(), creer_arbre_vide()) ;
}
bool est_feuille(arbre a)