乱码

Clion debug不输出内容 | Clion debug输出乱码

这张图,你能看到的UTF-8 的地方,全部修改成UTF-8

Clion debug不输出内容 | Clion debug输出乱码
这个勾也勾上,跟第一张图片同步,那个main.cpp不用管

debug不输出内容

setbuf(stdout, NULL);
Clion debug不输出内容 | Clion debug输出乱码
在你的main函数里加上这句话。

相关文章: