#include <xtd/xtd>
class program {
public:
static auto main() {
console::write_line("The root path of '{0}' is '{1}'", di1.full_name(), di1.root());
console::write_line("The root path of '{0}' is '{1}'", di2.full_name(), di2.root());
console::write_line("The root path of '{0}' is '{1}'", di3.full_name(), di3.root());
console::write_line("The root path of '{0}' is '{1}'", di4.full_name(), di4.root());
}
};
Exposes instance methods for creating, moving, and enumerating through directories and subdirectories...
Definition directory_info.h:129
#define startup_(main_method)
Defines the entry point to be called when the application loads. Generally this is set either to the ...
Definition startup.h:175
The xtd::io namespace contains types that allow reading and writing to files and data streams,...
Definition binary_reader.h:16
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10