0

I have a class with static variables and I wish to initialize those variables depending on a value written in a file, something like this :

reading file to fill condition (example : toto = 1)
if (toto == 1)
    static_variable = something

Since it is static variable is has to be done outside of the class.

How could I do that ?

Dinendal
  • 269
  • 1
  • 5
  • 19

0 Answers0