Skip to content

Category Archives: C++

The using keyword in C++ is a tool that allows developers to specify the use of a particular namespace. This is especially useful when working… Read More
Random floating numbers can be generated using 2 methods: Using rand() Using uniform real distribution 1. Use of rand() We can generate random integers with… Read More
Prerequisite: Array in C++  The array is a type of data structure that can store data of similar data types. The most significant feature is… Read More
Prerequisite: Pointer in C++ Pointers are an essential part of the C++ language. It allows us to store the memory address of a variable. One… Read More
Several ways exist in which data (or variables) could be sent as an argument to a function. Two of the common ones are Passing by… Read More
Prerequisite:  Maps in C++ STL  Pass by reference Elements in the map are in form of pairs where the first is key and another value,… Read More
The erase_if function in C++20  is used to erase all the elements in the set satisfying the required condition. This condition is referred to as… Read More
Prerequisites: Class-Object in C++  Inheritance in C++ Before learning about Inheritance Access we need to know about access specifiers. There are three Access specifiers in… Read More
Prerequisite: Operators in C++ What is a C++ increment Operator?  The C++ increment operator is a unary operator. The symbol used to represent the increment… Read More
There are mainly 3 types of Numeric Data Types in C++ int  unsigned int short int unsigned short int  long int unsigned long int long… Read More
Comparison operators are operators used for comparing two elements, these are mostly used with if-else conditions as they return true-false as result. There are mainly… Read More
The sleep_for method in the thread header file suspends the program’s execution for a certain period. The method also requires the presence of the chrono… Read More
Halting the program’s execution at the desired time for a specific duration is one of the most used features in a programming language. This is… Read More
C++ Map is another commonly used STL container, it stores elements in a mapped fashion. Each element is stored as a pair having a key… Read More
In terms of computer graphics, Scaling is a process used for altering the size of objects. It changes the coordinate point of the original object.… Read More

Start Your Coding Journey Now!