Research of static data member in C++ Language

Yong Zhang · Journal of Shaanxi University of Technology · 2005

On the basis of a thorough analysis of the methods of declaration and accessing to the static data member in C++ language,authors point out the abuse of utilizing global variable to implement the shared data in program design,and at the same time give out the ways how a static data member replaces the global variable and questions to be paid attention to in using static data member.In addition,the effect of static data member in programming is described in detail,and finally this paper gives the examples to show how to use correctly static data members.

Read the paper · More papers on PaperTik