xtd 0.2.0
main5.cpp

Shows how to use xtd::startup class.

#include <xtd/console>
#include <xtd/environment>
using namespace xtd;
auto main() -> int {
// Write arguments to the console output
return 42;
}
// This code produces the following output if one two "three four" five are entered on command line:
//
// /!---OMITTED---!/main5
// one
// two
// three four
// five
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.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8