Shows how to use xtd::startup class.
#include <xtd/console>
#include <xtd/environment>
#include <xtd/startup>
namespace main1_example {
class program {
public:
static void main() {
}
};
}
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
static xtd::argument_collection get_command_line_args()
Returns a string array containing the command-line arguments for the current process.
static int32 exit_code() noexcept
Gets the exit code of the process.
#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:167
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8