Class to Class Conversion
In my previous post I had explained how “Class Type to Basic Conversion” can be done using both constructor and special casting operator function. In this post I will show you howRead More…
In my previous post I had explained how “Class Type to Basic Conversion” can be done using both constructor and special casting operator function. In this post I will show you howRead More…
My previous post was dedicated for “Basic to Class Type” conversion. If you haven’t read yet, I strongly recommend you to read that first before proceeding to this post. In this post,Read More…
In the previous post we had seen about the basic concept of type conversion. In this post I will show you how type conversion can be achieved. First we will deal withRead More…
In this and the following posts I am going to show you one another nice feature provided by the C++ programming language called “Type Conversion”. In C programming language, when different typesRead More…
In my post “Overloading Binary Operator” I had showed you that how binary operators such as “+”, “-“,”*” can be overloaded. We had overloaded “+” operator for addition of two objects. WeRead More…
In previous post, I had talked about overloading binary operators using member function as well as friend function. We know that insertion (<<) and extraction (>>) are operators in C++ and justRead More…
In my previous post “Overloading Unary Operator”, I had discussed how unary operators can be overloaded using member function and friend function. In this post I am going to show you howRead More…
Previously I had explained basic concept of Operator Overloading and what really it means. In this post, I will continue my discussion on the same by showing you how it can beRead More…
In my previous article, I had discussed about how private members of a class can be shared and accessed using “Friend Function”. In this article I am going to show you oneRead More…
We all know that as per the rule of encapsulation, We cannot access data members or member functions declared with the private scope specifier from outside the class. There are some casesRead More…