關於聲音函數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);
相關文章
相關標籤/搜索