Yûki - No MakeFile
This commit is contained in:
parent
35865485a0
commit
e7305b7ab8
8 changed files with 532 additions and 45 deletions
21
main_compress.h
Normal file
21
main_compress.h
Normal 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
|
||||
Reference in a new issue