C++ class Singleton problem

how did you do the init function and where did you call it?