Suppose I want to read line a of integers from input like this:
1 2 3 4 5\\n
I want cin to stop at \'\\n\' character but cin doesn\'t seem
Use std::getline, this will do the trick