That's the behavior inherited from the standard stream. It is not intuitive and I've got bitten myself by it repeatedly (last time in public (:redface:)).
try
- Code: Select all
ss.read(char*, std::streamsize)
or
- Code: Select all
std::getline(ss, input);





