xtd
0.2.0
hello_world_ustring.cpp
The classic first application "Hello, World!" with
xtd::ustring
class.
#include <xtd/console>
#include <xtd/environment>
#include <xtd/ustring>
using namespace
xtd
;
auto
main()->int {
console::out
<<
ustring::format
(
"{},{,10}!"
,
"Hello"
,
"World"
_s) <<
environment::new_line
;
}
// This code produces the following output:
//
// Hello, World!
Generated on Mon Oct 9 2023 14:41:56 for xtd by
Gammasoft
. All rights reserved.