xtd 0.2.0
hello_world_diagnostics.cpp

The classic first application "Hello, World!" with xtd::diagnostics::trace class.

#define TRACE
#include <xtd/xtd>
using namespace xtd::diagnostics;
auto main() -> int {
trace::write_line("Hello, World!");
}
// This code produces the following debug output :
//
// Hello, World!
static void write_line()
Writes a line terminator to the trace listeners in the listeners collection.
Definition trace.hpp:343
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.hpp:10