global variable[edit | edit source] Singleton. The singleton pattern ensures that only one object of a particular class is ever created. All further references to objects of the singleton class refer to the same underlying instance.

you have a global variable , the references are the pointers that the all the functions have to this instance as their first paramater. Any function can change the instance variables(struct).

links[edit | edit source] , ,

links[edit | edit source]


Community content is available under CC-BY-SA unless otherwise noted.