codeblosk中文注释乱码和一些头文件的不能使用的问题解决方法(error: failure to convert GBK to UTF-8|)

主页面点击右上角settings->compiler
然后点击下图箭头

最后按照下图更改编码格式即可。

-finput-charset=UTF-8
-fexec-charset=GBK

猜你喜欢

转载自blog.csdn.net/weixin_44070289/article/details/107193203