首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::basic_streambuf::sbumpc

int_type sbumpc();

?

?

读取一个字符并将输入序列按一个字符推进。

如果输入序列读取位置不可用,则返回uflow().否则返回Traits::to_int_type(*gptr())...

参数

%280%29

返回值

对象所指向的字符的值。获取指针,或Traits::eof()如果读取位置不可用。

另见

sgetc

reads one character from the input sequence without advancing the sequence (public member function)

snextc

advances the input sequence, then reads one character without advancing again (public member function)

代码语言:txt
复制
 ? cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com