您现在的位置是:首页 > 电脑技术查询 > 电脑知识

sound

编辑:chaxungu时间:2022-09-28 09:39:47分类:电脑知识

函数名:sound
功能:以指定频率打开pc扬声器
用法:voidsound(unsignedfrequency);
程序例:
/*emitsa7-hztonefor10seconds.
yourpcmaynotbeabletoemita7-hztone.*/
#include<dos.h>
intmain(void)
{
sound(7);
delay(10000);
nosound();
return0;
}

上一篇:epsxe

下一篇:域间中间系统对中间系统