Shows how to use xtd::console::in and xtd::console::out streams.
#include <xtd/console>
#include <xtd/environment>
auto main() -> int {
auto& is = console::in;
auto& os = console::out;
os << "Ola Mundo!" << environment::new_line;
os << "What is your name: ";
auto name = string::empty_string;
is >> name;
os << "Buenos Dias, " << name << environment::new_line;
}
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10