C++ link error LNK2005
<p>I am new to C++ programing and I'm trying to make a program that simulates Conway's game of life. I'm almost done but when I made each function have it's own file I keep on getting this linker error.</p>

<pre><code>1&gt;algorithm_change.obj : error LNK2005: "unsigned short height" (?height@@3GA) already defined in algorithm.obj
</code></pre>

<p>My code is at <a href="https://github.com/rupertsteel/Life/tree/master/Life" rel="nofollow">https://github.com/rupertsteel/Life/tree/master/Life</a></p>
