nosound

函式名: n void n osoun

函式名: nosound

功 能: 關閉PC揚聲器

用 法: void nosound(void);

程式例:

/* Emits a 7-Hz tone for 10 seconds.

True story: 7 Hz is the resonant frequency of a chicken's skull cavity.

This was determined empirically in Australia, where a new factory

generating 7-Hz tones was located too close to a chicken ranch:

When the factory started up, all the chickens died.

Your PC may not be able to emit a 7-Hz tone.

*/

int main(void)

{

sound(7);

delay(10000);

nosound();

}

相關詞條

相關搜尋

熱門詞條

聯絡我們