Startertutorials Blog
Tutorials and articles related to programming, computer science, technology and others.
Subscribe to Startertutorials.com's YouTube channel for different tutorial and lecture videos.

CPP program to illustrate pointer to a class

Categories: Classes and Objects. No Comments on CPP program to illustrate pointer to a class

In this article we will learn to implement a CPP program to illustrate pointer to a class. A C++ program is given below to illustrate pointer to a class.   Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests. Email address: Leave this field empty if you’re human: Program is as […]

Read the rest of this entry »

CPP program to illustrate this pointer

Categories: Classes and Objects. No Comments on CPP program to illustrate this pointer

In this article we will learn to implement a CPP program to illustrate this pointer. A C++ program is provided below to demonstrate this pointer.   Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests. Email address: Leave this field empty if you’re human: Program is as follows: #include <iostream> using […]

Read the rest of this entry »

CPP program using friend function

Categories: Classes and Objects. No Comments on CPP program using friend function

In this article we will learn to implement a CPP program using friend function. A C++ program is provided below for implementing friend function.   Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests. Email address: Leave this field empty if you’re human: Program is as follows: #include <iostream> using namespace […]

Read the rest of this entry »

CPP program for illustrating access specifiers

Categories: Classes and Objects. No Comments on CPP program for illustrating access specifiers

In this article we will learn to implement a CPP program for illustrating access specifiers. A C++ program is provided below for illustrating access specifiers public, private, protected.   Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests. Email address: Leave this field empty if you’re human: Program is as follows: […]

Read the rest of this entry »

Cpp program demonstrating a bank account

Categories: Classes and Objects. No Comments on Cpp program demonstrating a bank account

In this article we will learn to implement a Cpp program demonstrating a bank account. A C++ program is provided below to represent a bank account.   Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests. Email address: Leave this field empty if you’re human: Program is as follows: #include <iostream> […]

Read the rest of this entry »

Cpp program to illustrate the use of constructor and destructor

Categories: Classes and Objects. No Comments on Cpp program to illustrate the use of constructor and destructor

In this article we will learn to implement a Cpp program to illustrate the use of constructor and destructor. A C++ program is provided below to demonstrate the use of constructor and destructors. Program is as follows: #include <iostream> using namespace std; class Distance { private: int feet; int inches; public: Distance() {} Distance(int f, […]

Read the rest of this entry »

CPP program for illustrating function overloading in adding the distance between objects

Categories: Classes and Objects. No Comments on CPP program for illustrating function overloading in adding the distance between objects

In this article we will learn to implement a CPP program for illustrating function overloading in adding the distance between objects. A C++ program is provided below for adding the distance between objects using function overloading.   We create a distance class with the following: Subscribe to our monthly newsletter. Get notified about latest articles, […]

Read the rest of this entry »

Cpp program to create objects of distance class and add them

Categories: Classes and Objects. 4 Comments on Cpp program to create objects of distance class and add them

In this article we will learn to implement a Cpp program to create objects of distance class and add them. A C++ program is provided below that adds objects of distance class.   We create a distance class with the following: Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests. Email […]

Read the rest of this entry »