Friend Function And Friend Class In C++ With Examples

Friend Function: Friend Function –The private and protected members of any class cannot be accessed from outside the class. Sometime, it may require to access private and protected members. A Friend function... Read more »
C++ Default Arguments

C++ Default Arguments and command line Arguments

C++ Default Arguments: C++ default arguments in which data is initialized during the function declaration are called default arguments. If the values of the c++ default arguments are specified in the function... Read more »
decision making

decision making statement if, if-else, nested-if, switch case

Decision-Making Introduction: Decision-Making Statement if, if-else, nested-if, switch case-You know that computers can perform arithmetic calculations correctly and rapidly. Besides rapid arithmetic calculations and other capabilities, the computer is also capable of... Read more »
User Defined Function

User Defined Function in C/C++ And How To Use Them In Programming

What is a function: User-Defined Function-A function is a subprogram or module to which any amount of data can be sent but which returns only one value. A function is used to... Read more »

C++ functions and their uses in C++ programming with Example codes

c++ functions  Introduction: As programs get longer and become more complex they become harder to understand. For this reason, all computer languages contain modular programming techniques that facilitate the design implementation and... Read more »

C++ Graphics with Example codes for drawing different shapes using Graphic functions

C++ GRAPHICS Introduction: C++ GRAPHICS Functions relating to graphics are used to create different shapes in different colors. The graphics functions require a graphics monitor (nowadays almost all computers have graphics monitors)... Read more »