Shows how tto use xtd::media::system_sounds and xtd::media::system_sounds classes.
#include <xtd/media/system_sounds>
#include <xtd/console>
#include <xtd/environment>
#include <xtd/startup>
namespace system_sound_example {
class program {
public:
static auto main() {
while (true) {
switch (key_info.key()) {
default: break;
}
}
}
};
}
startup_(system_sound_example::program::main);