#include <xtd/console>
auto orig_row = 0;
auto orig_col = 0;
void write_at(
const string&
s,
int x,
int y) {
}
auto main() -> int {
write_at("+", 0, 0);
write_at("|", 0, 1);
write_at("|", 0, 2);
write_at("|", 0, 3);
write_at("+", 0, 4);
write_at("-", 1, 4);
write_at("-", 2, 4);
write_at("-", 3, 4);
write_at("+", 4, 4);
write_at("|", 4, 3);
write_at("|", 4, 2);
write_at("|", 4, 1);
write_at("+", 4, 0);
write_at("-", 3, 0);
write_at("-", 2, 0);
write_at("-", 1, 0);
write_at("All done!", 0, 6);
}
static void write(arg_t &&value)
Writes the text representation of the specified value to the standard output stream.
Definition console.h:462
static int32 cursor_top()
Gets the row position of the cursor within the buffer area.
static void clear()
Clears the console buffer and corresponding console window of display information.
static void set_cursor_position(int32 left, int32 top)
Sets the position of the cursor.
static int32 cursor_left()
Gets the column position of the cursor within the buffer area.
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10