is there any other way to generate substrings instead of running 3 for loops
Substrings-------
@sktg99 You can use the STL predefined function substr. s.substr(i, len) prints substring of length ‘len’ starting from index i in string s.
is there any other way to generate substrings instead of running 3 for loops
@sktg99 You can use the STL predefined function substr. s.substr(i, len) prints substring of length ‘len’ starting from index i in string s.