Had mixed up Y with X in some for loops, this caused the printing to be messed up on anything but square grids. Now grid generation and printing is complete, have to start implementing the actual life algorithm next. Also added .gitignore with cmake and c defaults
6 lines
No EOL
140 B
CMake
6 lines
No EOL
140 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
|
|
project(conway)
|
|
|
|
add_executable(conway conway.c)
|
|
target_compile_options(conway PUBLIC -ggdb -O0 -Wall) |