xtd
0.2.0
Loading...
Searching...
No Matches
environment_command_line.cpp
Shows how to use
xtd::environment::command_line
method.
#include <xtd/xtd>
auto
main() ->
int
{
console::write_line();
// Invoke this sample with an arbitrary set of command line arguments.
console::write_line(
"command_line: {0}"
, environment::command_line());
}
// This code produces the following output :
//
// >environment_command_line ARBITRARY TEXT
//
// CommandLine: /!---OMITTED---!/environment_command_line ARBITRARY TEXT
Generated on Sun Aug 31 2025 20:45:29 for xtd by
Gammasoft
. All rights reserved.