Skip to content

Tag Archives: CPP-Functions

acos() is an inbuilt function in C++ STL and it’s the same as the inverse of cosine in maths. The acos() function returns the values… Read More
forward_list::unique() is an inbuilt function in C++ STL which removes all consecutive duplicate elements from the forward_list. It uses binary predicate for comparison. Syntax: forwardlist_name.unique(BinaryPredicate… Read More
The sinh() is an inbuilt function in C++ STL which returns the hyperbolic sine of an angle given in radians. Syntax : sinh(data_type x) Parameter… Read More
multimap::begin() is a built-in function in C++ STL which returns an iterator referring to the first element in the multimap container. Since multimap container contains… Read More
multimap::cbegin() is a built-in function in C++ STL which returns a constant iterator referring to the first element in the multimap container. Since multimap container… Read More
multimap::crbegin() is a built-in function in C++ STL which returns a constant reverse iterator referring to the last element in the multimap container. Since multimap… Read More
atol(): This function converts a C-type string, passed as an argument to function call, to a long integer. It parses the C-string str interpreting its… Read More
std::stol(): This function converts the string, provided as an argument in the function call, to long int. It parses str interpreting its content as an… Read More
The function std::swap() is a built-in function in the C++ Standard Template Library (STL) which swaps the value of two variables. Syntax: swap(a, b) Parameters:… Read More
array::cbegin() is a built-in function in C++ STL which returns a const_iterator pointing to the first element in the array. It cannot be used to… Read More
The forward_list::swap() is a built-in function in CPP STL which exchanges the contents of the first given forward_list with another forward_list. Syntax: swap(forward_list first, forward_list… Read More
array::rbegin() is a built-in function in C++ STL which returns a reverse iterator pointing to the last element in the container. Syntax: array_name.rbegin() Parameters: The… Read More
In Mathematics, the differential equation, is of particular importance. The solution of the equation is a function of the parameter . For integral and half-integral… Read More
The list::remove() is a built-in function in C++ STL which is used to remove elements from a list container. It removes elements comparing to a… Read More
The list::end() is a built-in function in C++ STL which is used to get an iterator to past the last element. By past the last… Read More