Reading from istream
How can I extract data (c开发者_运维知识库ontents) from istream without using operator>>() ?.
If you want to read characters from the istream, then by using get and getline:
std::istream::get
std::istream::getline
For general reading you may want to use read:
std::istream::read
精彩评论