Saturday, May 16, 2015

inner class initialization and instantiation in C++/CPP

The following snippet shows you how to handle inner class in C++, especially the initialization and the instantiation.  It is important to note that the public inner class members are accessible outside the outer class while the private inner class members are accessible only inside the outer class. Please have a look at the code !


Hope you enjoy it !

No comments:

Post a Comment