Re: metodo che posso chiamare ovunque
Von: mitic (mit@libero.it) [Profil]
Datum: 04.03.2008 11:36
Message-ID: <fqj8mu$1umd$1@newsreader2.mclink.it>
Newsgroup: it.comp.lang.c++
Datum: 04.03.2008 11:36
Message-ID: <fqj8mu$1umd$1@newsreader2.mclink.it>
Newsgroup: it.comp.lang.c++
se nell header della classe costruisco un oggetto statico
andrebbe bene?
esempio:
file "log.h"
class Log{
public:
Log();
static void Write();
};
static Log log;
[ Auf dieses Posting antworten ]
