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

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

#include <xtd/forms/message_box>
#include <xtd/console>
#include <xtd/startup>
using namespace 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.h:175
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10