开发者

Reading from istream

开发者 https://www.devze.com 2023-01-01 03:01 出处:网络
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:

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

精彩评论

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