console_beep

September 14, 2025 ยท View on GitHub

Shows how to use xtd::console::beep method.

Sources

  • src/console_beep.cpp
  • CMakeLists.txt

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output if 3 is entered on command line

Beep number 1.
Beep number 2.
Beep number 3.

Contents

  1. 1Sources
  2. 2Build and run