Ajustement des définitions de structures.

master
Yann CHAMPEAU 3 years ago
parent 025f4abbab
commit 37b55eb27c

@ -0,0 +1,5 @@
{
"files.associations": {
"saeannexe.h": "c"
}
}

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

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

@ -1,8 +1,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include "annexe/saeAnnexe.h"
#include "partie1/saeP1.h"
#include "annexe/saeAnnexe.h"
#include "partie2/saeP2.h"
#include "partie3/saeP3.h"
#include "partie4/saeP4.h"

Loading…
Cancel
Save