关于声音函数sound()在codeblocks中的使用问题

函数名: sound 功 能: 以指定频率打开PC扬声器 用 法: void sound(unsigned frequency); 程序例: /* Emits a 7-Hz tone for 10 seconds. Your PC may not be able to emit a 7-Hz tone. */ #include <dos.h> int main(void) { sound(7);
相关文章
相关标签/搜索