This repository has been archived on 2022-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
Huffman/huffman.h

20 lines
458 B
C
Raw Normal View History

#ifndef _GLOBAL_HUFFMAN_H
#define _GLOBAL_HUFFMAN_H 1
// On inclus nos dépendances que tous le programme utilisera
#include <stdio.h>
#include <string.h>
// Structure du noeud
typedef struct noeud_huffman {
char lettre;
int frequence;
struct noeud_huffman *gauche;
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