Help in designing code

Dear all,

I have to write a numerical simulation, for which I have created a class called "Organism" which I call each time an organism is created in the simulation.

All instances of the class Organism need to be able to access a given set of parameters. Those parameters needs to be defined outside the class definition. Could you tell me what is the best way to proceed ?

Best
more info needed on these 'parameters'... should they be constants? An inherited or has-a class? Just parameters to a method of the class (ctor seems likely?)

these are real positive numbers (about 5 of them). They are constant. And should not be changed in the code.
I don't want to have them defined as static member of the class Organism if I could avoid it.
One option would be to use a Singleton to store the constants so each object can access it
http://www.cplusplus.com/forum/general/223462/#CH_i1023879
Topic archived. No new replies allowed.