函数名: sound 
 功  能: 以指定频率打开PC扬声器 
 用  法: #include <dos.h>
         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); 
    delay(10000); 
    nosound(); 
    return 0; 
 }