Original Post
Hi, I'm trying to add sound system to a quite big hierarchy tree of objects. I've created a cSoundSystem class and I want all the game objects to use it. My current approach is: 1. Create cSoundSytem object dynamically in the app class. 2. Set a global pointer to the sound system. 3. Use extern in the game root object to get the sound system pointer. Well, it works. But I don't like this solution. I know it's possible to make it like this: 1. Create single instance of cSoundSystem 2. Access it through cSoundSystem:: from any object knowing the type How do you do this? And am I right to try it?