Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Mathematical
7.8K+ articles
C++
4.3K+ articles
Competitive Programming
3.3K+ articles
Strings
3.3K+ articles
C++ Programs
2.4K+ articles
Searching
1.7K+ articles
Hash
1.3K+ articles
STL
1.3K+ articles
A substring of a string is a contiguous sequence of characters within that string. In simpler terms, a substring is a part of a larger string that appears consecutively in...
read more
C++ Programs
C++
Picked
cpp-string
cpp-strings
CPP Examples
C++ has in its definition a way to represent asequence of characters as an object of the class. This class is called std:: string. The string class stores the characters a...
read more
C++ Programs
C++
Picked
cpp-strings
CPP Examples
A Hex String is a combination of thedigits 0-9andcharacters A-F and a byte array is an array used to storebytedata types only. The default value of each element of the byt...
read more
C++ Programs
C++
Picked
cpp-array
cpp-strings
CPP Examples
In C++, splitting a string into a vector of substrings means we have to split the given string into a substring based on a given delimiter and store each substring in a ve...
read more
C++ Programs
C++
Picked
cpp-vector
cpp-strings
CPP Examples
In C++, splitting a string into an array of substrings means we have to parse the given string based on a delimiter and store each substring in an array. In this article, ...
read more
C++ Programs
C++
Picked
cpp-string
cpp-array
substring
cpp-strings
CPP Examples
In C++, a string data structure is used to store the sequence of characters. These characters can be letters, symbols, or numbers. In this article, we will learn how to ad...
read more
C++ Programs
C++
Picked
cpp-strings
CPP Examples
In C++, strings are a sequence of characters that might contain spaces in many casesbut we can read only the input text till whitespace using cin. In this article, we will...
read more
C++ Programs
C++
Picked
cpp-input-output
cpp-strings
CPP Examples
Creating a random alpha-numeric string in C++ means generating random characters from the set of alphanumeric characters (i.e., ‘A’-‘Z’, ‘a’-‘z’, and ‘0’-‘9’) and appendin...
read more
C++ Programs
C++
Picked
cpp-strings
cpp-random
CPP Examples
In C++, an array of a string is used to store multiple strings in contiguous memory locations and is commonly used when working with collections of text data. In this arti...
read more
C++ Programs
C++
Picked
cpp-array
cpp-pointer
cpp-strings
CPP Examples
In C++, strings are sequences of characters that are used to store text data which can be in both uppercase and lowercase format. In this article, we will learn how we can...
read more
C++
Picked
C++-Misc C++
cpp-strings
C Pattern Programs
CPP Examples
In C++, strings are objects that represent a sequence of characters and we can break this string into a new line using the '\n' escape sequence. In this article, we will l...
read more
C++ Programs
C++
Picked
cpp-string
cpp-strings
CPP Examples
In C++, an array is a homogeneous collection of data that is stored in a contiguous memory location. We can store almost all types of data as array elements. In this artic...
read more
C++ Programs
C++
Picked
cpp-string
cpp-array
cpp-pointer
cpp-strings
CPP Examples
In C++, we generally store the date and time data in the form of the object of type std::tm. Sometimes, this data is stored inside a string object and we need to convert i...
read more
C++ Programs
C++
cpp-string
date-time-program
cpp-strings
In C++,std::wstringis a type of string where each character is of a wide character type.Converting wstring to a double in C++ can be a common requirement especially when d...
read more
C++ Programs
C++
cpp-strings
CPP Examples
In C++, a vector of strings is a std::vector container that stores multiple strings. It is useful when you need to store a collection of string data in a single container ...
read more
C++
STL
cpp-vector
cpp-strings
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !