diff --git a/src/annexe/.vscode/settings.json b/src/annexe/.vscode/settings.json new file mode 100644 index 0000000..30a4480 --- /dev/null +++ b/src/annexe/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "files.associations": { + "saeannexe.h": "c" + } +} \ No newline at end of file diff --git a/src/annexe/saeAnnexe.h b/src/annexe/saeAnnexe.h index 26b7369..c5a7f18 100644 --- a/src/annexe/saeAnnexe.h +++ b/src/annexe/saeAnnexe.h @@ -1,19 +1,5 @@ //Définition des structures : --------------------------// // -typedef struct MaillonDep // -{ // - char departement[31]; // - int nbp; // - char resp[51]; // - struct MaillonDep* suivant; // -}MaillonDep; // - // -typedef struct // -{ // - char Ville[31]; // - MaillonDep* ldept; // -}VilleIUT; // - // //Piles : ------------------// // typedef struct pile // // { // // diff --git a/src/partie1/saeP1.h b/src/partie1/saeP1.h index faceabd..d52d2d6 100644 --- a/src/partie1/saeP1.h +++ b/src/partie1/saeP1.h @@ -1,13 +1,15 @@ //Structure -typedef struct MaillonDep { +typedef struct MaillonDep +{ char departement[31]; int nbp; char resp[51]; struct MaillonDep* suivant; } MaillonDep; -typedef struct { +typedef struct +{ char Ville[31]; MaillonDep* ldept; } VilleIUT; diff --git a/src/saeMain.c b/src/saeMain.c index 728f64f..b28521b 100644 --- a/src/saeMain.c +++ b/src/saeMain.c @@ -1,8 +1,8 @@ #include #include #include -#include "annexe/saeAnnexe.h" #include "partie1/saeP1.h" +#include "annexe/saeAnnexe.h" #include "partie2/saeP2.h" #include "partie3/saeP3.h" #include "partie4/saeP4.h"