#include <stdio.h> #include "grid.h" #include <stdbool.h> int main(void){ bool run = true; while(run){ struct Grid* grid = grid_new(5, 5); Affichage_grid(grid); char entry = fgetc(stdin); switch(entry){ case 'q' :{ run = false; break; } } } }