clion 怎么运行项目

问答 86 views 1 replies
#1 ·

devc++.zip|attachment (25.7 KB)
clion.zip|attachment (164.8 KB)
(这部分)代码应该没有问题,在 devc++ 中可以正常运行(如图 1),但是在 clion 中应该是先输出 please enter the number of the student: 然后再输入
但是却一直不输出,不清楚是怎么回事(如图二)

image|690x347
image|690x126

一开始是根本无法运行,然后我上网搜,以为是因为 clion 只能运行单个 c 文件的原因,然后装了一个 C/C+ + Single File Execution 插件,结果现在就是可以输出,但是无法正常输出,问过 ai 了,还是没办法解决,求助

admin
#2 · (edited)

可能需要在运行配置里启用 emulate terminal?