Skip to content

Tag Archives: CPP-Basics

In this article, we will discuss the immediate function used in C++. Immediate Function: In C++20, an immediate function is a function where every call… Read More
In this article, the differences between passing “pointer to pointer” and “address of pointer” to a function. In C or C++ Programming Language, it is… Read More
Every program takes some data as input and generates processed data as an output following the familiar input process output cycle. It is essential to… Read More
In this article, we will discuss how to handle the exceptions using classes. Exception Handling: Exceptions are run-time anomalies or abnormal conditions that a program… Read More
In this article, we will discuss the behavior of Virtual Function in the derived class and derived class from the Abstract Base Class in C++.… Read More
Xcode is an IDE developed by Apple themselves to develop apps for macOS and iOS or all other Operating Systems that Apple develops. It also… Read More
find(): The find() function is used to search the element in the given range and every STL container has the functionality to search the element… Read More
The getline() function in C++ is used to read a string or a line from the input stream. The getline() function does not ignore leading… Read More
In this article, we will discuss the use of “using namespace std” in the C++ program. Need of namespace: As the same name can’t be… Read More
Prerequisites: Multidimensional array in C++, Multidimensional array in Java Multidimensional Arrays: Multidimensional arrays are a tabular representation of arrays to store multiple elements. These dimensions… Read More
In this article, we will discuss the reason for the run-time error and its solution. Runtime Error: A runtime error in a program is an… Read More
While programming in C++ we often use a class multiple times, and hence it requires to create a header file and just include it in… Read More
Line Control Directive: Whenever a program is compiled, there are chances of occurrence of some error in the program. Whenever the compiler identifies an error… Read More
Structure Pointer: It is defined as the pointer which points to the address of the memory block that stores a structure is known as the… Read More
Preprocessing is a stage where preprocessor directives are expanded or processed before source code is sent to the compiler. The most common example of such… Read More