- Download the fime
compi_c
by following the instruction here (in french):
http://www-igm.univ-mlv.fr/ens/Common/libMlv/install.php
- copy the file
compi_c
in the directory wherePercolation.c
is saved. - run
chmod +x compi_c
-
Open the terminal
-
GO to the directory containing the folliowing files:
Gestion_aeroport.c
LstComp.txt
compi_c
(obligatoire pour la compilation en mode graphique) -
Enter the folloiwng command in the terminal:
./compi_c Gestion_aeroport.c -o [Name of the output program]
Note: the file ./compi_c.
contains the flag FLAGS="-Wall -ansi"
- Then enter
./[Name of the output program] [Save file name] [Game mode]
To test the game, the mode [Game mode]
is test
and to play the game, the mode [Game mode]
is normal
.
The mode normal
allows the user to start a game from scratch (air plane companies need to be created). The mode test
allows the user to start a game from a constructed situation (events can be scheduled before the start).