2In fact it is possible to call getline(cin,buf,char) and read a line until the character char is encountered.