I have to solve this programming exercise and I don't know how to do it.
Write a program to read strings from the standard input, concatenating what is read into a large concatenated string next ( ok I wrote this program and it works properly ), change the program to separate adjacent input strings by a space ( problem with the second part ). In my book i learnt the difference between the string input operator and the getline function, size member function, empty , but i can't undersand how to read two adjacent strings and how to separate them, could you help me ? P.S : I'm a c++ beginner so i know just a very very little bit of the language.