Shows how to use xtd::startup class.
#include <xtd/xtd>
namespace main4_example {
class program {
public:
static int main(const argument_collection& args) {
for (auto arg : args)
console::write_line(arg);
return 42;
}
};
}
#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