Tfe

Ongi etorri tfe-ren webgunera...

Old stuff/ecole_etude_fac_de_pau/licence_3/genie-logiciel/parking.h

(Deskargatu)
#include <stdio.h>
#include <stdlib.h>

typedef struct 
{
  int etage;
  int numero;
}  place;


typedef struct
{
  int id;  
  char* couleur;
} vehicule;


typedef struct
{
  int nb;
  place places[1200];
  vehicule* vehicules[1200]; 
} parking;



void initialiser(parking*);
void se_garer(parking*,vehicule**);
void quitter(parking*,vehicule**);