Yûki - No MakeFile

This commit is contained in:
name 2019-12-15 16:06:48 +01:00
parent 35865485a0
commit e7305b7ab8
No known key found for this signature in database
GPG key ID: 03E8F3CF3183323A
8 changed files with 532 additions and 45 deletions

21
main_compress.h Normal file
View file

@ -0,0 +1,21 @@
#ifndef __MAIN_COMPRESS__
#define __MAIN_COMPRESS__
#include "arbre_de_codage/arbre_binaire.h"
#include <stdio.h>
struct lexique{
char lettre;
char *code;
};
typedef struct lexique lex;
typedef struct lexique* plex;
arbre huffman(arbre T[]);
void frequence(arbre T[], FILE *file);
void tri_tab(arbre T[],int n);
void afficher_tab(arbre T[], int n);
void init_tab(arbre T[], int n);
void init_codage(plex Code[], int n);
void get_lexique(FILE *file, plex Code[], arbre huff);
#endif