It compiles fine in both code blocks and on my Mac... I haven't changed the code since. Also I have declared neighbors that's part of GOL and the semicolon is there
these are errors of MSVC being anal over syntax. you can fix by moving the declaration of these to the beginning of the function, or statement. example int temp; if (temp<7)<br />{ temp ++ int prev = temp; }
this would fail to compile on MSVC, just move the declaration to the first line, and delete in 'int' off the other of course.