Removing spaces from a string using Stringstream - GeeksforGeeks
Removing spaces from a string using Stringstream
Solution to removing spaces from a string is already posted here. In this article another solution using stringstream is discussed.
Algorithm
1. Enter the whole string into stringstream. 2. Empty the string. 3. Extract word by word and concatenate to the string.
Read full article from Removing spaces from a string using Stringstream - GeeksforGeeks
No comments:
Post a Comment