Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
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
CPP-Functions
619+ posts
Recent Articles
Popular Articles
erase_if() Function in C++
Last Updated: 22 August 2024
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
Vector reserve() in C++ STL
Last Updated: 20 November 2024
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
std::function in C++
Last Updated: 22 October 2024
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
std::forward in C++
Last Updated: 26 September 2024
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 Dispatch in C++
Last Updated: 23 October 2024
Tag dispatch 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
log10() Function in C++
Last Updated: 22 October 2024
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
std::string::size() in C++
Last Updated: 16 October 2024
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
Vector size() in C++ STL
Last Updated: 15 November 2024
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
Vector pop_back() in C++ STL
Last Updated: 26 November 2024
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
isdigit() in C++
Last Updated: 26 December 2024
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
memcpy() in C++
Last Updated: 15 May 2025
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
Function Prototypes in C++
Last Updated: 16 June 2025
In C++, function prototype 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
Types of Recursion in C++
Last Updated: 16 June 2025
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
Function Call Stack in C++
Last Updated: 16 June 2025
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
Method Overloading in C++ Classes
Last Updated: 16 June 2025
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
1
2
3
4
...
42
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 !