Add prototype for creating new nodes for the tree

This commit is contained in:
Mylloon 2021-12-18 11:55:56 +01:00
parent 2aaf284d9b
commit 2b56ac0f1e
2 changed files with 9 additions and 0 deletions

6
huffman.c Normal file
View file

@ -0,0 +1,6 @@
#include "huffman.h"
Noeud nouveauNoeud(char lettre, int frequence, Noeud noeudA, Noeud noeudB) {
return noeudA;
}

View file

@ -13,4 +13,7 @@ typedef struct noeud_huffman {
struct noeud_huffman *droite;
} *Noeud;
// Permet de créer un nouveau noeud
Noeud nouveauNoeud(char lettre, int frequence, Noeud A, Noeud B);
#endif // <huffman.h> inclus