[C] 以指定频率打开PC扬声器 →→→→→进入此内容的聊天室

来自 , 2021-04-19, 写在 C, 查看 165 次.
URL http://www.code666.cn/view/426f990b
  1. /* Emits a 7-Hz tone for 10 seconds.
  2.    Your PC may not be able to emit a 7-Hz tone. */
  3. #include <dos.h>
  4.  
  5. int main(void)
  6. {
  7.    sound(7);
  8.    delay(10000);
  9.    nosound();
  10.    return 0;
  11. }
  12.  

回复 "以指定频率打开PC扬声器"

这儿你可以回复上面这条便签

captcha