diff --git a/.vscode/tasks.json b/.vscode/tasks.json index cafff40..2161d88 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -2,18 +2,17 @@ "tasks": [ { "type": "cppbuild", - "label": "C/C++: gcc.exe 生成活动文件", - "command": "D:/TDM-GCC/bin/gcc.exe", + "label": "C/C++: g++.exe 生成活动文件", + "command": "D:\\TDM-GCC\\bin\\g++.exe", "args": [ "-fdiagnostics-color=always", "-g", "${file}", "-o", - "${fileDirname}\\${fileBasenameNoExtension}.exe", - "" + "${fileDirname}\\${fileBasenameNoExtension}.exe" ], "options": { - "cwd": "D:/TDM-GCC/bin" + "cwd": "${fileDirname}" }, "problemMatcher": [ "$gcc" diff --git a/build/Debug/outDebug.exe b/build/Debug/outDebug.exe deleted file mode 100644 index 1bc8758..0000000 Binary files a/build/Debug/outDebug.exe and /dev/null differ diff --git a/test.cpp b/test.cpp index 61c22c7..541a70b 100644 --- a/test.cpp +++ b/test.cpp @@ -3,6 +3,12 @@ using namespace std; int main(){ - cout <<"Hello,World"<