xtd
0.2.0
Toggle main menu visibility
Home
Categories
Documentation
Namespaces
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
v
x
Enumerations
Related Symbols
o
Files
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
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 Mon Sep 22 2025 19:55:59 for xtd by
Gammasoft
. All rights reserved.