Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

wcout

 

Specifies the wcout global stream.

extern wostream wcout;

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

Example

See cerr for an example of using wcout.

CString instances in a wcout statement must be cast to const wchar_t*, as shown in the following example.


      CString cs("meow");
wcout << (const wchar_t*) cs << endl;

For more information, see Basic CString Operations.

Requirements

Header: <iostream>

Namespace: std

Show: