xtd 0.2.0
Loading...
Searching...
No Matches
test_console.cpp

Shows how to set target startup with cmake xtd::console.

#include <xtd/xtd>
class console_main {
public:
static auto main() {
console::write_line("Hello, World!");
forms::message_box::show("Hello, World!");
}
};
startup_(console_main::main);
#define startup_(main_method)
Defines the entry point to be called when the application loads. Generally this is set either to the ...
Definition startup.hpp:168