Relative Content

Tag Archive for csingletonpass-by-reference

How to implement singleton object in C?

I have a requirement for an OBJECT to be used by other objects. The requirement is that the OBJECT not require initialization by any external call. So I began with something like so…