iostream - STL C++

wcout

Declaration

extern wostream wcout;

Description

The wcout object is an instantiation of the output stream wostream that controls the stream buffer and is used for standard wide-character output messages.

Header Include

#include <iostream>

Example

#include <iostream>

int main() {
	using namespace std;

	// We can send any content to wcout
	wcout << L"XoaX.net" << endl;

	// Keep the window open
	cin.get();
	return 0;
}

Output

wcout Output
 

© 2007–2024 XoaX.net LLC. All rights reserved.