TP6 Correction list.c

master
Geoffrey Frogeye 2017-03-29 11:59:21 +02:00
parent 04bb2bec3a
commit f7e3478fce
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ void insertinList(Liste* mylist, int el)
{
Cell* newCell=(Cell*) malloc(sizeof(Cell));
newCell->key=el;
newCell->nextC=*mylist;
*mylist=newCell;
}

View File

@ -3,7 +3,7 @@
#include<stdlib.h>
#include<string.h>
#include <listechaines.h>
#include "listechaines.h"
//Affichage de la liste en ligne
void afficher_liste(Liste l) {