#include <stdio.h>
#include <stdbool.h>
#include <windows.h>
bool check_network_connection() { return true;}
void send_sound_to_speaker() { BEEP(500,500);
printf("声音已发送到音响");}
int main() {
if (check_network_connection())
{
send_sound_to_speaker();
} else
{ printf("没有网络连接");
}
return 0;
}