#include <xtd/xtd>
class program {
public:
static auto main() {
string doc_path = environment::get_folder_path(environment::special_folder::my_documents);
for (auto di : dirs.enumerate_directories()) {
console::write_line("{}", di.name());
}
}
};
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