5 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for markdean1989

I am an aspiring (at the age of 27) programmer using C++. I have future undertakings including getting a refresher course at a premier University in my country. I am just interested to know in advance how it is to become a programmer. What are the regular routines that you …

Member Avatar for markdean1989
0
299
Member Avatar for Benjamin_10

Hi I've got most of the code finished but I can't for the life of me figure out how to correctly count neighbors for the edges and corners of the array. These are the rules. If the cell is currently empty: If the cell has exactly three living neighbors, it …

Member Avatar for Hiroshe
0
4K
Member Avatar for Pobunjenik

This is based on John Conways Game of Life, a simple yet awesome code that simulates life. Rules are simple, if a cell has less then 1 or more then 4 living cells next to it, the cell dies. An empty cell with exactly 3 living cells next to it …

Member Avatar for Pobunjenik
0
328
Member Avatar for darkeclipse8

My professor asks me to program the Game Of Life with some required and I find unnecessary classes. But anyhow as I am coding and running the program midway I run into this problem void Life::setup_grid() { cout << "Size of Grid: " << grid.size() << endl; cout << "rows: …

Member Avatar for NathanOliver
0
386
Member Avatar for nuclear

Trying to do some basic "Game of life", but for some reason i'm getting some weird results, the code: [CODE]#include "stdafx.h" #include "stdlib.h" #include <iostream> using namespace std; #include "windows.h" const int V=30;//Vertical const int H=40;//Horizontal char A[V][H]; int ne=0; //Set all to dead void setDead() { for (int i=0;i<V;++i) …

Member Avatar for nuclear
0
690

The End.