From 4c78e0926a453dc302ee85df545908b4d27eeb30 Mon Sep 17 00:00:00 2001 From: yangtengze Date: Tue, 4 Jul 2023 17:45:57 +0800 Subject: [PATCH] change --- .vscode/settings.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index cd503cd..2555b0e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,9 @@ "files.associations": { "stdlib.h": "c", "string.h": "c" + }, + "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", } } \ No newline at end of file