Delete old files

This commit is contained in:
Mylloon 2021-12-18 13:50:19 +01:00
parent 7bc2fa427a
commit 493191abe5
6 changed files with 0 additions and 49 deletions

View file

@ -1 +0,0 @@
#include "compression.h"

View file

@ -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

View file

@ -1 +0,0 @@
#include "decompression.h"

View file

@ -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

View file

@ -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;
}

View file

@ -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