次の方法で共有


wcerr

Specifies the wcerr global stream.

extern wostream wcerr;

Return Value

A wostream object.

Remarks

The object controls unbuffered insertions to the standard error output as a wide stream. Once the object is constructed, the expression wcerr.flags & unitbuf is nonzero.

Example

See cerr for an example of using wcerr.

Requirements

Header: <iostream>

Namespace: std

See Also

Reference

wostream

iostream Programming

iostreams Conventions

Other Resources

<iostream> Members