Windows Beep() equivalent for Linux

前端 未结 6 771
我在风中等你
我在风中等你 2021-02-09 12:38

I am experimenting with Beep function on Windows:

#include 
...
Beep(frequency, duration);

The computer then beeps with some f

6条回答
  •  清酒与你
    2021-02-09 13:20

    I'm not familiar with Linux, but outputting ascii character 0x07 seems to do that trick from what I read with a quick google search.

提交回复
热议问题