Thread
:
A problem with static data members in c++
View Single Post
#
1
(
permalink
)
August 19th, 2003, 03:33 AM
amotsn
Registered User
Join Date: Aug 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
A problem with static data members in c++
When I run the following code in vc++ I get linker error 2001.
What is the problem and what can be done?
the code:
class a{
protected:static int aa;
public:void doo();
};
void a::doo(){aa=5;}
void main(){}
amotsn
View Public Profile
Find all posts by amotsn