xtd
0.2.0
Loading...
Searching...
No Matches
hello_world_diagnostics2.cpp
The classic first application "Hello, World!" with
xtd::ctrace
class.
#define TRACE 1
// Force to trace even if example is builded with -DNTRACE.
#include <xtd/xtd>
auto
main() ->
int
{
ctrace <<
"Hello, World!"
<< environment::new_line << std::flush;
}
// This code produces the following debug output :
//
// Hello, World!
Generated on Sat Oct 11 2025 20:19:47 for xtd by
Gammasoft
. All rights reserved.