#include <xtd/io/file_info>
#include <xtd/io/path>
#include <xtd/block_scope>
#include <xtd/console>
#include <xtd/startup>
class program {
public:
static auto main() {
if (!fi.exists()) {
sw.write_line("Hello");
sw.write_line("And");
sw.write_line("Welcome");
}
}
while (!sr.end_of_stream())
}
}
};
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
Provides static methods for the creation, copying, deletion, moving, and opening of files,...
Definition file_info.hpp:41
static xtd::string get_temp_path() noexcept
Returns the path of the current user's temporary folder.
static xtd::string combine(const xtd::string &path1, const xtd::string &path2)
Combines two path strings.
#define startup_(main_method)
Defines the entry point to be called when the application loads. Generally this is set either to the ...
Definition startup.hpp:167
#define block_scope_(...)
The specified expression is cleared automatically when the scope is ended.
Definition block_scope.hpp:25
@ path
The xtd::uri::local_path data.
Definition uri_components.hpp:27
The xtd::io namespace contains types that allow reading and writing to files and data streams,...
Definition binary_reader.hpp:17
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8