cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Static member
Static member
Jun 25, 2013 at 9:20pm UTC
Edward01
(87)
If I have a static member in a class in the private area? Does only a static function can access it? or it can be accessed with any other function throught the program? Thanks?
Jun 25, 2013 at 9:22pm UTC
vlad from moscow
(6539)
It can be accessed by any (static or non-static) member function of the class or by any friend function of the class.
Topic archived. No new replies allowed.