I'm trying to convert a string of words to single string using Cpp. I want to take something like the following:
string str:"Leetcode is cool"
Then convert above to something like this :
string str:"Leetcodeiscool"
I'm trying to convert a string of words to single string using Cpp. I want to take something like the following:
string str:"Leetcode is cool"
Then convert above to something like this :
string str:"Leetcodeiscool"