Courses
Tutorials
Practice
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
DSA
22.8K+ articles
Misc
8.8K+ articles
C++
4.3K+ articles
C Language
1.8K+ articles
STL
1.3K+ articles
CPP-Functions
615+ articles
C-Library
133+ articles
cpp-containers-library
93+ articles
cpp-math
50+ articles
CPP-Library
253+ posts
Recent Articles
Popular Articles
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
CPP-Library
CPP-Functions
C++
cpp-math
How to Get Time in Milliseconds in C++?
Last Updated: 28 May 2024
In programming measuring accurate time is a common requirement for most software development packages. In C++, we have the std::chrono library with various functions for d...
read more
CPP-Library
C++
C++ Programs
Picked
CPP Examples
misc-cpp
How Do I Create a Library in C++?
Last Updated: 18 March 2024
Libraries are reusable code packages that can be imported into our program to use the code defined in them. In C++, libraries can be either static or dynamic. A static lib...
read more
CPP-Library
C++
C++ Programs
Picked
CPP Examples
How to Create a Static Library in C++?
Last Updated: 15 February 2024
C++ allows users to add their own libraries to reduce the amount of code we have to write in our program. A static library in C++ is a library that is linked to the progra...
read more
CPP-Library
C++
C++ Programs
Picked
CPP Examples
C++ getchar() Function
Last Updated: 27 November 2022
getchar( ) is a function that takes a single input character from standard input. The major difference between getchar( ) and getc( ) is that getc( ) can take input from a...
read more
Technical Scripter
CPP-Library
C++
Picked
Technical Scripter 2022
C++ getenv() Function
Last Updated: 28 November 2022
The getenv() function in C++ is used to return a pointer to the C string that contains the value of the environment variable passed as an argument.Environment variables ar...
read more
Technical Scripter
CPP-Library
C++
Picked
Technical Scripter 2022
std::stoi Function in C++
Last Updated: 05 March 2023
The stoi() is a standard library function that turns a string into an integer. C++ programmers utilize the function, which stands for "string to integer," to obtain intege...
read more
CPP-Library
CPP-Functions
C++
How to get largest and smallest number in an Array?
Last Updated: 13 September 2022
Given an array arr[] of length N, The task is to find the maximum and the minimum number in the array.Examples:Input: arr[] = {1, 2, 3, 4, 5}Output: Maximum is: 5Minimum i...
read more
Arrays
CPP-Library
Picked
DSA
boost::algorithm::join() in C++ Library
Last Updated: 09 March 2022
The library Boot.StringAlgorithms provides many functions for string manipulations. The string can be of type std::string, std::wstring, or any instance of the class templ...
read more
CPP-Library
C++
C++ Programs
cpp-boost
Overloads of the Different References in C++
Last Updated: 10 November 2021
This article focuses on function/method overloads by references, as well as the types of arguments that can be passed.Prerequisites:l-value references.r-value references.M...
read more
GBlog
Technical Scripter
CPP-Library
Computer Subject
C++
Constructors
References
C++ Programs
Set of List and Forward List in C++ with examples
Last Updated: 10 November 2021
SetsSets are a type of associative container in which each element has to be unique because the value of the element identifies it. The value of the element cannot be modi...
read more
STL
CPP-Library
C++
cpp-set
CPP-forward-list
boost::trim in C++ library
Last Updated: 06 August 2024
This function is included in the "boost/algorithm/string" library. The Boost String Algorithms Library provides a generic implementation of string-related algorithms which...
read more
CPP-Library
CPP-Functions
C++
Count of pairs in range [P, Q] with numbers as multiple of R and their product lie in range [P*Q/4, P*Q]
Last Updated: 02 December 2021
Given 3 positive integers P, Q, and R, the task is to find the number of pairs such that both the elements are in the range [P, Q] and the numbers should be multiple of R,...
read more
Mathematical
CPP-Library
Java 8
DSA
Integrating Lua in C++
Last Updated: 29 December 2022
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 Scr...
read more
CPP-Library
C++
C++ Programs
How To
Difference between tellg and tellp in C++
Last Updated: 26 December 2022
In this article, we will discuss the functionality of basic_istream::tellg and basic_ostream::tellp and the difference between them.tellg(): The function is defined in the...
read more
CPP-Library
C++
1
2
3
4
...
17
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 !