xtd
0.2.0
environment.cpp
Shows how to use
xtd::environment
class.
#include <xtd/xtd.core>
#include <xtd/xtd.console>
using namespace
std::literals;
int
main(
int
argc,
char
* argv[]) {
xtd::console::write_line
(
"os : {}"
,
xtd::environment::os_version
());
xtd::console::write_line
(
"user : {}"
,
xtd::environment::user_name
());
xtd::console::write_line
(
"system directory : {}"
,
xtd::environment::system_directory
());
}
Generated on Mon Oct 9 2023 14:41:55 for xtd by
Gammasoft
. All rights reserved.