24 lines
No EOL
312 B
C
24 lines
No EOL
312 B
C
#include <stdio.h>
|
|
#include "arbre_binaire.h"
|
|
|
|
struct zoccurence{
|
|
int nb;
|
|
char lettre;
|
|
};
|
|
typedef struct zoccurence occ;
|
|
typedef struct zoccurence * freq;
|
|
|
|
int main ()
|
|
{
|
|
|
|
}
|
|
/*
|
|
L est considéré comme ordonné
|
|
*/
|
|
arbre huffman(arbre H, freq L[])
|
|
{
|
|
int i;
|
|
|
|
printf(L[]->nb);
|
|
printf(L[]->lettre);
|
|
} |