New answers tagged

2

If you're going to use C++, make full use of the language. Create a class to hold your universe, then all of your non-main functions can be members. You also won't have to pass around a reference to the universe array as it would be a member of the class. One alternative to the toKill and toBirth vectors is to have two "universe" arrays. You'd use ...


Top 50 recent answers are included