Archived

This topic is now archived and is closed to further replies.

EGD Eric

What's the correct way to initialize static pointers?

Recommended Posts

acraig    471
Example:

(Inside header)
class GEMClientObject
{
public:
...
static psCelClient *cel;
...
};

( Inside CPP file )
psCelClient *GEMClientObject::cel = NULL;




-------
Andrew
PlaneShift - A MMORPG in development.

Share this post


Link to post
Share on other sites