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

std::fgetwc

Defined in header <cwchar>

?

?

wint_t fgetwc( std::FILE* stream );

?

?

wint_t getwc( std::FILE* stream );

?

?

从给定的输入流读取下一个宽字符。getwc()可以作为宏实现,并且可以计算stream不止一次。

参数

stream

-

to read the wide character from

返回值

流中的下一个宽字符或WEOF如果发生错误或已到达文件结束。如果出现编码错误,errno设置为EILSEQ...

另见

fgetcgetc

gets a character from a file stream (function)

fgetws

gets a wide string from a file stream (function)

fputwcputwc

writes a wide character to a file stream (function)

ungetwc

puts a wide character back into a file stream (function)

c fgetwc的文件

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

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

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com