Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) std::wclog

 

std::wclog is the standard output stream similar to std::clog, yet for wide characters.

 

 

 

 

 

 

Technical facts

 

Application type(s)

Operating system(s) or programming environment(s)

IDE(s):

Project type:

C++ standard:

Compiler(s):

Libraries used:

 

 

 

 

 

Qt project file: CppWclog.pro

 

TEMPLATE = app
CONFIG += console
CONFIG -= qt
QMAKE_CXXFLAGS += -std=c++11 -Wall -Wextra -Weffc++ -Wall
SOURCES += main.cpp

 

 

 

 

 

main.cpp

 

#include <iostream>

int main()
{
  std::cout  << "Hello World from std::cout\n";
  std::clog  << "Hello World from std::clog\n";
  std::cerr  << "Hello World from std::cerr\n";
  std::wcout << "Hello World from std::wcout\n";
  std::wclog << "Hello World from std::wclog\n";
  std::wcerr << "Hello World from std::wcerr\n";
}

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict

This page has been created by the tool CodeToHtml