问题标题: 会说话的代码(可以复制)

1
0
已解决
郑皓予
郑皓予
中级光能
中级光能

因为某人是刷题求解,所以我把代码放这里了

#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;
}

 


0
0
0
0
0
0
0
0
我要回答