IN101 project on Conway's Game of Life
naive_pbm_writer.h
Go to the documentation of this file.
1 
17 #include <stdio.h>
18 #include <stdlib.h>
19 #include <string.h>
20 #include "naive_universe.h"
21 
22 
23 #ifndef CONWAY_NAIVE_WRITER
24 #define CONWAY_NAIVE_WRITER
25 
26 
34 void naive_generate_image(universe u, int idx);
35 
43 void naive_generate_image_filename(universe u, char *filename);
44 
45 
46 #endif
Header file for a naive implementation of Conway&#39;s game of life universe structure.
void naive_generate_image(universe u, int idx)
Generate the image corresponding to a universe. Image will be of PPM format and created in the out f...
Definition: naive_pbm_writer.c:10
void naive_generate_image_filename(universe u, char *filename)
Generate the image corresponding to a universe. Image will be of PPM format.
Definition: naive_pbm_writer.c:18
Structure representing a universe: width, height, number of simulation steps and current cells state...
Definition: list_universe.h:18