my question here
I just learn singletons and what i know is the main purpose is that you can create a unique instance of a particular type
But what is the real use of it on programming like where do we use it on games, Applications?
Can you guys give me an examples of how can i use it?
Thanks
I just learn singletons and what i know is the main purpose is that you can create a unique instance of a particular type
But what is the real use of it on programming like where do we use it on games, Applications?
Can you guys give me an examples of how can i use it?
Thanks