开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜