共用方式為


wcin

Specifies the wcin global stream.

extern wistream wcin;

Return Value

A wistream object.

Remarks

The object controls extractions from the standard input as a wide stream. Once the object is constructed, the call wcin.tie returns &wcout.

Example

See cerr for an example of using wcin.

Requirements

Header: <iostream>

Namespace: std

See Also

Reference

wistream

iostream Programming

iostreams Conventions