NH> static int CClassName::MethodName( int SomeVar )
TM> Are you sure it looked exactly like this?
Not _exactly_ like that - I changed the names to make my point more
obvious. The "static int", however, _are_ exactly as they were in the
original.
TM> The keyword "static" is used for two purposes in C++.
TM> 1. in class declarations to declare class methods/attributes.
TM> 2. in implementation files to prevent the name of a function/
TM> variable/constant from polluting the global namespace.
I think maybe there are three, as can be seen by the replies I've
already gotten.
* KWQ/2 1.2i *
--- TMail v1.31.5
---------------
* Origin: Diablo Valley PCUG-BBS, Walnut Creek, CA 510/943-6238 (1:161/55)
|