Shows how to use xtd::console class.
#include <xtd/console>
auto main() -> int {
console::write(L"Hello ");
console::write_line(L"World!");
console::write(L"Enter your name: ");
string name = console::read_line();
console::write(L"Good day, ");
console::write(name);
console::write_line(L"!");
}
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10