Skip to content

Tag Archives: CPP-Library

getchar( ) is a function that takes a single input character from standard input. The major difference between getchar( ) and getc( ) is that… Read More
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… Read More
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,”… Read More
Given an array arr[] of length N, The task is to find the maximum and the minimum number in the array. Examples: Input: arr[] =… Read More
The exchange() function is a built-in function in C++ 14 defined in the <utility> header. The exchange() function copies new value to old value and… Read More
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 template std::basic_string.… Read More
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. Move… Read More
Sets Sets are a type of associative container in which each element has to be unique because the value of the element identifies it. The… Read More
This function is included in the “boost/algorithm/string” library. The Boost String Algorithms Library provides a generic implementation of string-related algorithms which are missing in STL.… Read More
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… Read More
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 Scripting enhancement… Read More
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 istream… Read More
The strtok() function is used in tokenizing a string based on a delimiter. It is present in the header file “string.h” and returns a pointer… Read More
What is arc tangent? The arctangent is the inverse of the tangent function. It returns the angle whose tangent is the given number. catan() is… Read More
 C++ offers its users a variety of functions, one of which is included in header files. In C++, all the header files may or may… Read More

Start Your Coding Journey Now!