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
Category Archives: C++
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: smatch_name… 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 is… Read More
The match_results::operator[] is a built function in C++ which used to get the i-th match in the match_result object. It gives the reference to the… Read More
Prerequisite : Pointers in C/C++ THERE CAN BE MANY REASONS, BUT HERE ARE TWO REASONS: Reason 1 :Consider int arr[100]. The answer lies in the… Read More
The iswlower() is a built-in function in C/C++ which checks if the given wide character is a lowercase character or not. It is defined within… Read More
The towupper() is a built-in function in C/C++ which converts the given wide character into uppercase. It is defined within the cwctype header file of… Read More
The ungetc() function takes a single character and shoves it back onto an input stream. It is the opposite of the getc() function, which reads… Read More
The iswdigit() is a built-in function in C++ STL which checks if the given wide character is an decimal digit character or not. It is… Read More
A Cast operator is a unary operator which forces one data type to be converted into another data type. C++ supports 4 types of casting:… Read More
In this article, we’d like to introduce the article about SQLITE combined with C++ or C. Before we go on with this tutorial, we need… Read More
Given two strings, str1 and str2, the task is to print the indices(Consider, indices starting from 0) of the occurrence of str2 in str1. If… Read More
The iswalnum() is a built-in function in C++ STL which checks if the given wide character is an alphanumeric character or not. It is defined… Read More
The unordered_set::load_factor() is a built-in function in C++ STL which returns the current load factor in the unordered_set container. The load factor is the ratio… Read More
The iswalpha() is a built-in function in C++ STL which checks if the given wide character is an alphabet or not. It is defined within… Read More