commit 6002ef8b39d901b1af00ecd1f319c4ca158641a8 Author: syber007 Date: Mon Mar 16 17:05:37 2026 +0000 Загрузить файлы в «/» diff --git a/launch.json b/launch.json new file mode 100644 index 0000000..c1ea10d --- /dev/null +++ b/launch.json @@ -0,0 +1,28 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "lldb", + "request": "launch", + "name": "clang++: build and launch active file", + "program": "${workspaceFolder}/a.exe", + "args": [], + "cwd": "${workspaceFolder}", + "console":"externalTerminal", + "preLaunchTask": "C/C++: clang++ build active file" + }, + { + "type": "lldb", + "request": "launch", + "name": "clang++: launch active file", + "program": "${workspaceFolder}/a.exe", + "args": [], + "cwd": "${workspaceFolder}", + "console":"externalTerminal" + } + + ] +} \ No newline at end of file diff --git a/tasks.json b/tasks.json new file mode 100644 index 0000000..01eae6f --- /dev/null +++ b/tasks.json @@ -0,0 +1,27 @@ +{ + "tasks": [ + { + "type": "cppbuild", + "label": "C/C++: clang++ build active file", + "command": "C:/Program Files/LLVM/bin/clang++.exe", + "args": [ + "-fcolor-diagnostics", + "-fansi-escape-codes", + "-g", + "${file}", + "-o", + "${fileDirname}/a.exe" + ], + "options": { + "cwd": "${fileDirname}" + }, + "problemMatcher": ["$gcc"], + "group": { + "kind": "build", + "isDefault": true + }, + "detail": "Task generated by Debugger." + } + ], + "version": "2.0.0" +}