I’m trying to get all buffered input from cin. I tried getline, but it only lets me choose one delimiting character. I tried operator>>, but while(cin >> str) didn’t work for me. Any suggestions?
PS I haven’t looked at boost yet but I’m looking now. I’ll let you know if I find anything.
Control-D on unix/mac and Control-Z on Widows signals an end-of-input to cin.