2
已解决
#include<stdio.h>
#include<stdlib.h>
#include<locale.h>
int main(){
setlocale(LC_ALL,"chs");
system("powershell -Command \"Add-Type -AssemblyName System.Speech; $speak = New-object System.Speech.Synthesis.SpeechSynthesizer; $speak.Speak('hello')\"");
system("pause");
return 0;
}
汪祥瑞在2025-11-19 20:28:26追加了内容
#include<stdio.h>
#include<stdlib.h>
#include<locale.h>
int main(){
setlocale(LC_ALL,"chs");
system("powershell -Command \"Add-Type -AssemblyName System.Speech; $speak = New-object System.Speech.Synthesis.SpeechSynthesizer; $speak.Speak('hello')\"");
system("pause");
return 0;
}
