Research of Static Data Member and Static Member Function in C++ Language

Qiaohe Yang · Computer Knowledge and Technology · 2006

On the basis of deep analyzing the effect of static data member and static member function in c++ language,and discussing the methods of declaration and accessing,and pointing out the abuse of utilizing global variable to implement shared data in program design,and at the same time giving out the resolvent,in addition,indicating the resolvent in which static member function can access non-static member function, and finally the author gives the examples to show how to use correctly static data members and static member function.

Read the paper · More papers on PaperTik