View Single Post
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#2
try the getline function:
http://en.cppreference.com/w/cpp/str...string/getline

std::string moviename
std::getline(std::cin, moviename);
 

The Following 3 Users Say Thank You to nicolai For This Useful Post: