Description: 1 write a class, declare a data member, and a static data member, its constructor initializes data members, and to add a static data member, its destructor decrements the static data member.
(1) preparation of an application, create a class of three objects, then displays its data members and static data members, then each object destructor, and shows their impact on the static data member.
(2) to modify the class, add a static member functions and access static data members and static data members declared as protected members. Understand the use of static member functions, static members and non-static members of the exchange of visits between the problem
To Search:
File list (Check if you may need any files):
C++.doc