Category: C++ Tutorials

C++ Constructor & Destructor

Constructor in C++ | Destructor in C++

In this article, we will learn about Constructors and Destructors in C++. Constructors in C++ When an object is created, a special member function of the class, known as constructor, is called automatically. Constructors...

Constants and Literals in C++

Constants in C++ | Literals in C++

In this article, we will learn about constants and literals in C++. What are Constants in C++? Constants are expressions whose values remain fixed. Once defined, we cannot change the value of a constant....

Polymorphism in C++

This article covers polymorphism and its types in C++ with examples. Let’s start!!! What is Polymorphism? The literal meaning of Polymorphism is to have many forms. In programming, this means that the same entity...

Tokens in C++

Tokens in C++

In this article, we will learn about tokens and its types in C++. Let’s start!! What is Token in C++? A token is the smallest unit of a program that the compiler understands. In...

Math Functions in C++

Math Functions in C++

C++ offers a lot of helpful mathematical functions that facilitate various mathematical calculations. Rather than implementing those calculations, we can directly use these built-in functions to make our programs simpler. In order to use...

Inheritance in C++

Inheritance in C++

One of the most important features of Object-Oriented Programming is Inheritance. In this article, we will learn all about inheritance in C++. What is Inheritance in C++ Inheritance refers to the ability of a...

Variables in C++

Variables in C++

In this article, we will learn about variables in C++. In a program, the basic unit of storage is a variable. It is a name given to a location in memory that stores some...

Strings in c++

Strings in C++

We will learn how to work with strings in C++ in this article. A string stores a sequence of characters. In C++, there are two types of strings: 1. C-style strings 2. Objects of...

Functions in C++

Functions in C++

In this article, we will learn about Functions in C++. A function is a segment of code that performs a certain task. A function in C++ is a set of statements with a name...