std::fputwc
Defined in header <cwchar>  |   |   | 
|---|---|---|
wint_t fputwc( wchar_t ch, std::FILE* stream );  |   |   | 
wint_t putwc( wchar_t ch, std::FILE* stream );  |   |   | 
写得很宽ch到给定的输出流。stream...putwc()可以作为宏实现,并且可以计算stream不止一次。
参数
ch  | -  | wide character to be written  | 
|---|---|---|
stream  | -  | the output stream  | 
返回值
ch在成功的时候,WEOF在失败的时候。如果出现编码错误,errno设置为EILSEQ...
另见
fputcputc  | writes a character to a file stream (function)  | 
|---|---|
fputws  | writes a wide string to a file stream (function)  | 
fgetwcgetwc  | gets a wide character from a file stream (function)  | 
c.fputwc的文件
 © cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

