c++ - Seems cin.putback(char) does nothing in theory -


i found function basic_istream::putback() inherited form basic_ios calls basic_streambuf::sputbackc() in turn calls pbackfail(). , funny when found pbackfail() nothing returning eof (and it's not overrided).

so how function putback() work in practice?


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

SoapUI on windows 10 - high DPI/4K scaling issue -

java - why am i getting a "cannot resolve method" error on getApplication? -