TP6 Correction list.c
This commit is contained in:
parent
04bb2bec3a
commit
f7e3478fce
|
@ -19,6 +19,7 @@ void insertinList(Liste* mylist, int el)
|
|||
{
|
||||
Cell* newCell=(Cell*) malloc(sizeof(Cell));
|
||||
newCell->key=el;
|
||||
newCell->nextC=*mylist;
|
||||
*mylist=newCell;
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Reference in a new issue