Shows how to use bit_converter::endianness method.
#include <xtd/bit_converter>
#include <xtd/console>
#include <xtd/startup>
namespace bit_converter_endianness_example {
class program {
public:
static auto main() {
console::write_line(
"This example of the bit_converter::endianness field "
"generates \nthe following output when run on "
"x86-class computers.\n");
console::write_line("endianness: {}",
bit_converter::endianness);
}
};
}
startup_(bit_converter_endianness_example::program::main);
#define startup_(main_method)
Defines the entry point to be called when the application loads. Generally this is set either to the ...
Definition startup.h:175
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10