#include <xtd/char_object>
#include <xtd/console>
#include <xtd/convert>
auto main() -> int {
auto m1 = "\nType a string of text then press Enter. "
"Type '+' anywhere in the text to quit:\n";
auto m2 = "Character '{0}' is hexadecimal 0x{1:x4}.";
auto m3 = "Character is hexadecimal 0x{0:x4}.";
auto ch = U'0';
do {
try {
if (ch == 0x0a)
} else
}
} while (ch != '+');
}
static bool is_white_space(type_t c) noexcept
Indicates whether the specified Unicode character is categorized as white space.
Definition box_char.h:187
static constexpr type_t min_value
Represents the smallest possible value of type_t. This field is constant.
Definition box_integer.h:70
static int32 read()
Reads the next character from the standard input stream.
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
static char32 to_char32(std::any value)
Convert std::any to char32.
The exception that is thrown when an arithmetic, casting, or conversion operation in a checked contex...
Definition overflow_exception.h:18
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10