0
点赞
收藏
分享

微信扫一扫

解决Visual Studio Code 控制台中文乱码问题

最后的执着 2023-11-06 阅读 32
C和CPP运行编码指定
    "code-runner.executorMap": {
        "c": "cd $dir && gcc -fexec-charset=GBK $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "cpp": "cd $dir && g++ -fexec-charset=GBK $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
    },

配置文件自动识别编码

举报

相关推荐

0 条评论