Delete old files
This commit is contained in:
parent
7bc2fa427a
commit
493191abe5
6 changed files with 0 additions and 49 deletions
|
@ -1 +0,0 @@
|
|||
#include "compression.h"
|
|
@ -1,8 +0,0 @@
|
|||
#ifndef _COMPRESSION_HUFFMAN_H
|
||||
#define _COMPRESSION_HUFFMAN_H 1
|
||||
|
||||
// On inclus le fichier global
|
||||
#include "huffman.h"
|
||||
|
||||
|
||||
#endif // <compression.h> inclus
|
|
@ -1 +0,0 @@
|
|||
#include "decompression.h"
|
|
@ -1,8 +0,0 @@
|
|||
#ifndef _DECOMPRESSION_HUFFMAN_H
|
||||
#define _DECOMPRESSION_HUFFMAN_H 1
|
||||
|
||||
// On inclus le fichier global
|
||||
#include "huffman.h"
|
||||
|
||||
|
||||
#endif // <decompression.h> inclus
|
11
huffman.c
11
huffman.c
|
@ -1,11 +0,0 @@
|
|||
#include "huffman.h"
|
||||
|
||||
Noeud nouveauNoeud(char lettre, int frequence, Noeud noeudA, Noeud noeudB) {
|
||||
Noeud noeud = malloc(sizeof(Noeud));
|
||||
noeud->lettre = lettre;
|
||||
noeud->frequence = frequence;
|
||||
noeud->gauche = noeudA;
|
||||
noeud->droite = noeudB;
|
||||
|
||||
return noeud;
|
||||
}
|
20
huffman.h
20
huffman.h
|
@ -1,20 +0,0 @@
|
|||
#ifndef _GLOBAL_HUFFMAN_H
|
||||
#define _GLOBAL_HUFFMAN_H 1
|
||||
|
||||
// On inclus nos dépendances que tous le programme utilisera
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
// Structure du noeud
|
||||
typedef struct noeud_huffman {
|
||||
char lettre;
|
||||
int frequence;
|
||||
struct noeud_huffman *gauche;
|
||||
struct noeud_huffman *droite;
|
||||
} *Noeud;
|
||||
|
||||
// Créer un nouveau noeud
|
||||
Noeud nouveauNoeud(char lettre, int frequence, Noeud A, Noeud B);
|
||||
|
||||
#endif // <huffman.h> inclus
|
Reference in a new issue