Skip to content

Category Archives: C++ Programs

In this article, we will discuss the problem of initialization in C++, the data members of a class have private scope by default, so they… Read More
C++ is a powerful language. In C++ we can write a structured program and object-oriented program also. In this article, we will focus on dynamic_cast… Read More
C++ is a powerful language. In C++ we can write structured programs and object-oriented programs also. C++ is a superset of C and therefore most… Read More
The std::numeric_limits<T> class in the limit header provides min(), max(), and lowest() function for all numeric data types along with the other member functions. std::numeric_limits<T>::max():… Read More
In this article, we will discuss the immediate function used in C++. Immediate Function:Want to learn from the best curated videos and practice problems, check… Read More
Static Function: It is a member function that is used to access only static data members. It cannot access non-static data members not even call… Read More
In this article, we will discuss how to read a string after reading an integer. Program 1:Want to learn from the best curated videos and… Read More
In this article, the task is to create different figures on a computer screen using OpenGL. Approach:Want to learn from the best curated videos and… Read More
In this article, we will discuss the differences between constant pointer, pointers to constant & constant pointers to constants. Pointers are the variables that hold… Read More
The task is to write a C++ program that displays the characters of the given string slowly on the console. Approach: The given problem can… 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
In this article, we will discuss the Overloading of the function-call operators in C++. The function call operator is denoted by “()” which is used… Read More
In this article, we will discuss how to create a front-facing view of a hut in OpenGL using two basic shapes i.e. triangle and rectangle.… Read More
Lua is a high-level, multi-paradigm programming language, mainly used in embedded applications as well as powerful scripting support for existing products. For Example Scripting enhancement… Read More
In this article, the task is to draw circles in two different subwindows using two different algorithms, and the circles are created using a single… Read More