Shows how to use xtd::string::compare method.
#include <xtd/console>
#include <xtd/string>
auto main() -> int {
auto result = string::compare("Aaa", "Baa");
if (result < 0)
else if (result > 0)
else
}
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 abstract_object.hpp:8