#include <stdio.h> #include<windows.h> void main() { Beep(900,1000); printf("Startled by the sudden sound,Sally shouted.\n"); } //编写一个程序,发出警报声,并打印下面文字Startled by the sudden sound,Sally shouted //Beep(900,1000) 900是声音种类,1000是声音长度
#include <stdio.h> #include<windows.h> void main() { Beep(900,1000); printf("Startled by the sudden sound,Sally shouted.\n"); } //编写一个程序,发出警报声,并打印下面文字Startled by the sudden sound,Sally shouted //Beep(900,1000) 900是声音种类,1000是声音长度
转载于:https://www.cnblogs.com/ZZiz/p/7596563.html