Bagikan melalui


wcout

Specifies the wcout global stream.

extern wostream wcout;

Return Value

A wostream object.

Remarks

The object controls insertions to the standard output as a wide stream.

When _UNICODE is defined, CString instances that are used with wcout must be explicitly cast to wide string types such as LPCWSTR (or LPCTSTR).

Example

See cerr for an example of using wcout.

Requirements

Header: <iostream>

Namespace: std

See Also

Reference

wostream

iostream Programming

iostreams Conventions

Other Resources

<iostream> Members

Change History

Date

History

Reason

July 2010

Updated with additional info per customer feedback.

Customer feedback.