Skip to content

Tag Archives: CPP-Functions

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 bitset::all() is a built-in function in C++ STL which returns True if all bits are set in the binary representation of a number if… 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
bitset::flip() is a built-in STL in C++ which flips the bits. If no parameter is passed in the function, then it flips all the bit… Read More
bitset::none() is a built-in STL in C++ which returns True if none of its bits are set. It returns False if a minimum of one… Read More
bitset::count() is an inbuilt STL in C++ which returns the number of set bits in the binary representation of a number. Syntax: int count() Parameter:… Read More
bitset::size() is a built-in STL in C++ which returns the total number of bits.  Syntax:   bitset_name.size() Parameter: The function accepts no parameter.  Return Value: The… Read More