add c++ Singleton sample