added laba 5

This commit is contained in:
2026-10-20 09:14:16 +03:00
parent 02d6e931f6
commit db5b04ed8f
108 changed files with 12287 additions and 0 deletions

6
lab-5/.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"recommendations": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools"
]
}

24
lab-5/.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,24 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug CMake target",
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"cwd": "${command:cmake.launchTargetDirectory}",
"console": "integratedTerminal",
"stopAtEntry": false,
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}

5
lab-5/.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,5 @@
{
"cmake.useCMakePresets": "always",
"cmake.configureOnOpen": true,
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
}

23
lab-5/.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,23 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "CMake: build (Debug)",
"type": "cmake",
"command": "build",
"preset": "debug",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": "$gcc"
},
{
"label": "CMake: build (Release)",
"type": "cmake",
"command": "build",
"preset": "release",
"problemMatcher": "$gcc"
}
]
}