How to make a C++ struct that can have multiple independent static variables for each object of the struct?
I’m currently working on a Predator/Prey simulation in C++, and I’d like to keep track of certain stats (number born, number alive, and number died, specifically) for each one of various types (Animal, Predator, Prey, Cow, Wolf, Rabbit, etc). I want to have them stored in a struct in order to make it easier to process and display the data.
For example,