|
5/25 |
2004/2/10-11 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Java] UID:12201 Activity:kinda low |
2/10 What is the equivalent of "protected static int COUNTER=0" in C++? Either protected or private would be ok. Thanks! class foo { protected: static int COUNTER; }; in foo.cpp int foo::COUNTER = 0; |
5/25 |
|