Skip to content

Tag Archives: CPP-Functions

The towlower() is a built-in function in C/C++ which converts the given wide character into lowercase. It is defined within the cwctype header file of… Read More
The array::at() is a built-in function in C++ STL which returns a reference to the element present at location i in given array. Syntax: array_name.at(i)… Read More
The array::get() is a built-in function in C++ STL which returns a reference to the i-th element of the array container. Syntax: get(array_name) Parameters: The… Read More
The iswspace() is a built-in function in C/C++ which checks if the given wide character is a wide whitespace character or not. It is defined… Read More
The unordered_map::end() is a built-in function in C++ STL which returns an iterator pointing to the position past the last element in the container in… Read More
The strcspn() function in C/C++ takes two string as input, string_1 and string_2 as it’s argument and searches string_1 by traversing for any characters that… Read More
The feholdexcept() function in C/C++ first saves the current floating-point environment in the object of fenv_t and it then resets the current values of all… Read More
The strrchr() function in C/C++ locates the last occurrence of a character in a string. It returns a pointer to the last occurrence in the… Read More
The function pointed by atexit() is automatically called without arguments when the program terminates normally. In case more than one function has been specified by… Read More
The priority_queue :: value_type method is a builtin function in C++ STL which represents the type of object stored as an element in a priority_queue.… Read More
The match_results::empty() is a inbuilt function in C++ which returns True if the smatch object contains no matches. Syntax: smatch_name.empty() Note: smatch_name is an object… Read More
The match_results::length() is a inbuilt function in C++ which is used to return the length of a particular match in the match_results object. Syntax: smatch_name.length(n)… Read More
The match_results::prefix() is an inbuilt function in C++ which is used to get the string which is preceding the matched string in the input target… Read More
The match_results::operator= is used to replace all the matches in a smatch object with new matches from another smatch object. Syntax: smatch_name1 = (smatch_name2) Note:… Read More
The match_results size() is a inbuilt function in C++ which returns the number of matches ans sub-matches in the match_result object. Syntax: smatch_name.size() Note: smatch_name… Read More