Shows how to use xtd::console with unicode characters.
#include <xtd/collections/generic/list>
#include <xtd/console>
auto main() -> int {
constexpr auto nchars = 0x044F - 0x0410 + 1;
auto code_point = U'\U00000410';
for (auto ctr = 0_z; ctr < chars.size(); ctr++) {
chars[ctr] = code_point;
code_point++;
}
for (auto ch : chars) {
}
}
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search...
Definition list.hpp:79
static void write(arg_t &&value)
Writes the text representation of the specified value to the standard output stream.
Definition console.hpp:462
static int32 output_code_page()
Gets the code page the console uses to write output.
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::collections::generic namespace contains interfaces and classes that define generic collectio...
Definition comparer.hpp:16
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8