Skip to content

Tag Archives: CPP-Functions

The list::empty() is a built-in function in C++ STL is used to check whether a particular list container is empty or not. This function does… Read More
The list::erase() is a built-in function in C++ STL which is used to delete elements from a list container. This function can be used to… Read More
The list::front() is a built-in function in C++ STL which is used to return a reference to the first element in a list container. Unlike… Read More
bitset::test() is an inbuilt function in C++ STL which tests whether the bit at a given index is set or not. Syntax: bitset_name.test(index) Parameters: The… Read More
set::rbegin() is a built-in function in C++ STL which returns a reverse iterator pointing to the last element in the container. Syntax: reverse_iterator set_name.rbegin() Parameters:… Read More
The list:push_back() function in C++ STL is used to add a new element to an existing list container. It takes the element to be added… Read More
The mktime() is an inbuilt C++ function which converts the local calendar time to the time since epoch and returns the value as an object… Read More
bitset::set() is a built-in STL in C++ which sets the bit to a given value at a particular index. If no parameter is passed, it… Read More
The list::assign() is a built-in function in C++ STL which is used to assign values to a list. It can also be used to copy… Read More
The list::back() function in C++ STL returns a direct reference to the last element in the list container. This function is different from the list::end()… Read More
The atan2() is an inbuilt function in C++ STL which returns tangent inverse of (y/x), where y is the proportion of the y-coordinate and x… Read More
bitset::operator[] is a built-in function in C++ STL which is used to assign value to any index of a bitset. Syntax:   bitset_operator[index] = value Parameter:… Read More
bitset::reset() is a built-in function in C++ STL which resets the bits at the given index in the parameter. If no parameter is passed then… Read More
The bitset::any() is an inbuilt function in C++ STL which returns True if at least one bit is set in a number. It returns False… Read More
The unordered_map::begin() is a built-in function in C++ STL which returns an iterator pointing to the first element in the unordered_map container or in any… Read More