C++ examples for Class:Member Function
Click the following links for the tutorial for Class and Member Function.