问题标题: 酷丁编程:会说话的代码

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

 


0
0
0
石峻帆
石峻帆
新手光能
新手光能

板块,而且都不能复制,你发到代码分享里

0
我要回答