xtd
0.2.0
Loading...
Searching...
No Matches
main5.cpp
Shows how to use
xtd::startup
class.
#include <xtd/xtd>
auto
main() ->
int
{
// Write arguments to the console output
for
(
auto
arg : environment::get_command_line_args())
console::write_line(arg);
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
Generated on Sun Aug 31 2025 20:45:29 for xtd by
Gammasoft
. All rights reserved.