Programming Examples

Are you a Programmer or Application Developer or a DBA? Take a cup of coffee, sit back and spend few minutes here :)


Articles on C++ programming language.

Friend Class And Friend Function in C++

Class Claiming Friendship with a function

1. Introduction We all know that one can not access private members of a class outside. There is an alternative for this concept and we call the alternative as a Friend Functions. A Friend Function can access the private member of the class, and a Friend Class can also access the private member of a class. In this article, we will see the below concepts with examples: Creating a global […]

Continue Reading →