Skip to content

Tag Archives: CPP-Library

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
Prerequisite: C++ STL, Iterators in C++ STL The iterator is not the only way to iterate through any STL container. There exists a better and… Read More
Standard output stream(cout): cout is the instance of the ostream class. cout is used to produce output on the standard output device which is usually… Read More
This header file consists of platform-dependent and implementation specific floating point values. A floating point has four parts. Sign Its value can be either negative… Read More

Start Your Coding Journey Now!