IN101 project on Conway's Game of Life
list_pbm_writer.h
Go to the documentation of this file.
1 
16 #include <stdio.h>
17 #include <stdlib.h>
18 #include <string.h>
19 #include "list_universe.h"
20 
21 #ifndef CONWAY_LIST_WRITER
22 #define CONWAY_LIST_WRITER
23 
31 void list_generate_image(universe u, int idx);
32 
40 void list_generate_image_filename(universe u, char *filename);
41 
42 #endif
Structure representing a universe: width, height, number of simulation steps and current cells state...
Definition: list_universe.h:18
Header file for a linked list implementation of Conway&#39;s game of life universe structure.
void list_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: list_pbm_writer.c:10
void list_generate_image_filename(universe u, char *filename)
Generate the image corresponding to a universe. Image will be of PPM format.
Definition: list_pbm_writer.c:18