NH>I saw an interesting header for a class method today; I couldn't
NH>figure out what the word "static" did in that case. Could someone
NH>please enlighten me (and tell me why it would be preferable to use that
NH>form in any circumstance).
NH>static int CClassName::MethodName( int SomeVar )
static means that the value assigned to it is only known with the current
compile. It's basically the same as a
const int blah = 12345678;
... Brian Mulroney: Biggest syntax error in politic.
--- Ezycom V1.48g0 01fd016b
---------------
* Origin: Fox's Lair BBS Bris Aus +61-7-38033908 V34+ Node 2 (3:640/238)
|