wcout
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft