Skip to content

Files

Latest commit

775fab3 · Jul 8, 2023

History

History
21 lines (12 loc) · 618 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 618 Bytes

CocciPuce

Population simulation of ladybirds and aphids. M1 C programming project.

Launch the simulation

Once the project has been cloned and placed in the coccipuce directory, 2 methods are possible:

Method 1: launch from command line in a terminal

The command line is :

gcc -Wall model/coccinelle.c model/direction.c model/potager.c model/puceron.c model/tomato.c ui/cui.c ui/manager.c initialization.c rule.c simulation.c main.c -o executable
./executable

Method 2: using the makefile

The commands needed to launch the entire project are :

make all
make launch