End "cin" with a dot

Hi, I want to be able to read with "cin" or anythin else a sentence which stopps reading when a dot(end of the sentence) appears.

Is there any suggestions?

cheers!
std::getline (std::cin, some_string, '.');
http://www.cplusplus.com/reference/string/string/getline/
Topic archived. No new replies allowed.