Shows how to use xtd::console::beep method.
#include <xtd/threading/thread>
#include <xtd/console>
#include <xtd/int32_object>
auto main(int argc, char* argv[]) -> int {
for (
auto i = 1;
i <=
x; ++
i) {
}
} else
}
static void beep()
Plays the sound of a beep through the console speaker.
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
static void sleep(int32 milliseconds_timeout)
Suspends the current thread for a specified time.
@ i
The I key.
Definition console_key.hpp:104
@ x
The X key.
Definition console_key.hpp:134
The xtd::threading namespace provides classes and interfaces that enable multithreaded programming....
Definition abandoned_mutex_exception.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
static bool try_parse(const xtd::string &value, reference result) noexcept
Converts the string to its value_type equivalent. A return value indicates whether the conversion suc...
Definition box.hpp:172