xtd 0.2.0
hello_world_io.cpp

The classic first application "Hello, World!" with xtd::io::file and xtd::io::path classes.

#include <xtd/xtd>
auto main(int argc, char* argv[]) -> int {
auto file_name = path::combine(path::get_temp_path(), "hello_world.txt");
file::write_all_text(file_name, "Hello, World!");
console::write_line(file::read_all_text(file_name));
file::remove(file_name);
}
// This code produces the following output :
//
// Hello, World!