namespace std {
wint_t putwchar(wchar_t c);
}
概要
標準出力に1文字出力する。
戻り値
書き込んだ文字を返す。エラーが発生した場合はWEOFを返す。
例
#include <cwchar>
int main()
{
std::putwchar(L'a');
std::putwchar(L'\n');
}
出力
a
バージョン
言語
- C++98
関連項目
putwcfputwcstd::putchar(): マルチバイト文字列版