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
Files
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Loading...
Searching...
No Matches
hello_world_console.cpp
The classic first application "Hello, World!" with
xtd::console
class.
#include <xtd/xtd>
auto
main() ->
int
{
console::background_color(console_color::blue);
console::foreground_color(console_color::white);
console::write_line(
"Hello, World!"
);
}
// This code produces the following output with colors :
//
// Hello, World!
Generated on Sun Jul 13 2025 12:19:12 for xtd by
Gammasoft
. All rights reserved.