Web Technologies
37.4K+ articles
Misc
8.8K+ articles
C++
4.3K+ articles
C++ Programs
2.4K+ articles
C Language
1.8K+ articles
STL
1.3K+ articles
CPP-Library
254+ articles
C-Library
133+ articles
cpp-unordered_multimap
29+ articles
cpp-valarray
27+ articles
The std::erase_if() is a utility introduced in C++20 that is used to remove elements from containers based on a specified condition. This function erases all elements that...
read more
C++ Programs
C++
STL
CPP-Functions
C++ 20
In C++, vector reserve() is a built-in function that reserves the memory for at least a specified number of elements in the vector. It changes the capacity of the vector s...
read more
C++
STL
CPP-Functions
cpp-vector
cpp-containers-library
The std::function() in C++ is a function wrapper class which can store and call any function or a callable object. In this article, we will learn about std::function in C+...
read more
C++
CPP-Functions
cpp-advanced
cpp-memory-management
In C++, std::forward() is a template function used for achieving perfect forwarding of arguments to functions so that it's lvalue or rvalue is preserved. It basically forw...
read more
C++
CPP-Functions
Tag dis is a programming technique by which we can call different overloads of a function based on the dummy argument passed to it. It is especially useful when we wa...
read more
C++
CPP-Functions
cpp-advanced
C++-Function Overloading and Default Arguments
cpp-overloading
The std::log10() in C++ is a built-in function that is used to calculate the base-10 logarithm of a given number. It is defined inside cmath header file. In this article,...
read more
C++
CPP-Library
CPP-Functions
cpp-math
The std::string::size() function in C++ is a built-in method of the std::string class that is used to determine the number of characters in the string. All characters up t...
read more
C++
cpp-string
CPP-Functions
cpp-strings-library
In C++, the vector size() is a built-in method used to find the size of a vector. The size of a vector tells us the number of elements currently present in the vector. In ...
read more
C++
STL
CPP-Functions
cpp-vector
cpp-containers-library
In C++, the vector pop_back() is a built-in method used to remove the last element from a vector. It reduces the size of the vector by one, but the capacity remains unchan...
read more
C++
STL
CPP-Functions
cpp-vector
cpp-containers-library
The isdigit() function in C++ checks whether a given character is a digit or not. Let's take a look at an example:C++#include bits/stdc++.husing namespace std;int main() {...
read more
C++
Picked
CPP-Functions
C++ memcpy() function is a standard library function that is used to copy the specified number of bytes from one memory location to another memory location regardless of t...
read more
C++
cpp-string
CPP-Functions
In C++, function is a function declaration that tells the compiler about the name of the function, its return type and the number and type of parameters. With th...
read more
C++
CPP-Functions
Recursion is a process where a function calls itself, either directly or indirectly to repeat the same task for smaller data. In C++, recursion occurs by writing a functio...
read more
C++
CPP-Functions
C++ is a procedural and object-oriented language where functions are essential for controlling the program’s flow. When a function is invoked, control shifts to that funct...
read more
C++
CPP-Functions
In C++, method overloading refers to defining multiple functions within the same class with the same name but different parameter lists. It allows a class to provide diffe...
read more
C++
CPP-Functions
cpp-class
cpp-overloading
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !