i have this class, the 'Keep' :
i now also have the granery object with a default constructor Granery();
how would i go about initializing the granery variable g?
if more code is needed to answer this let me know and ill post whatever needs to be looke at...
thanks alot,
ken
Code:
#ifndef Keep_h
#define Keep_h
#include "Granery.h"
class Keep
{
public:
Keep();
static Granery g;
static Granery getGranery(){return g;};
static void initialize();
};
#endif
how would i go about initializing the granery variable g?
if more code is needed to answer this let me know and ill post whatever needs to be looke at...
thanks alot,
ken
Comment