Skip to content

Category Archives: C++

In C++ programming, the default background of the output screen is black and the text color is the white color, the task is to color… Read More
The cin object in C++ is used to accept the input from the standard input device i.e., keyboard. it is the instance of the class… Read More
In this article, we will discuss how to draw a line using OpenCV in C++. The idea is to use the line() function from OpenCV… 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
The cout object in C++ is an object of class ostream. It is defined in iostream header file. It is used to display the output… Read More
The cin object in C++ is an object of class istream. It is used to accept the input from the standard input device i.e. keyboard.… Read More
In this article, we will discuss the very basic and most common I/O operations required for C++ programming. C++ runs on lots of platforms like… Read More
Array of Objects:It is an array whose elements are of the class type. It can be declared as an array of any datatype. Syntax: classname… Read More
std::numeric_limits::max(): The std::numeric_limits<T>::max() function is used to get the maximum finite value representable by the numeric type T. All arithmetic types are valid for type… Read More
This function ecvt() converts the double value to string value and returns a pointer to it. The library function defined in stdlib.h header file. Syntax:… Read More
Exit a Loop in C++: If the condition of an iteration statement (for, while, or do-while statement) is omitted, that loop will not terminate unless… Read More
C++ is a cross-platform language used to create high-performance applications, has user-friendly syntax, rich libraries, and fast speed. The language was updated to 3 versions… 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
Class: It is a user-defined datatype enclosed with variables and functions. It is like a blueprint for an object. Class members are private by default.… 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