Finished version, might have memory leaks

This commit is contained in:
2022-04-15 23:13:15 -04:00
parent e6e567e734
commit cbdf377c86
9 changed files with 703 additions and 41 deletions
+51
View File
@@ -0,0 +1,51 @@
{
"files.associations": {
"array": "cpp",
"atomic": "cpp",
"bit": "cpp",
"*.tcc": "cpp",
"cctype": "cpp",
"chrono": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"deque": "cpp",
"unordered_map": "cpp",
"vector": "cpp",
"exception": "cpp",
"algorithm": "cpp",
"functional": "cpp",
"iterator": "cpp",
"memory": "cpp",
"memory_resource": "cpp",
"numeric": "cpp",
"optional": "cpp",
"random": "cpp",
"ratio": "cpp",
"string": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"utility": "cpp",
"fstream": "cpp",
"initializer_list": "cpp",
"iosfwd": "cpp",
"istream": "cpp",
"limits": "cpp",
"new": "cpp",
"ostream": "cpp",
"sstream": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"cinttypes": "cpp",
"typeinfo": "cpp"
}
}
+35 -1
View File
@@ -6,6 +6,10 @@
"command": "/usr/bin/g++",
"args": [
"*.cpp",
"-Wall",
"-Wextra",
"-pedantic",
"-fsanitize=address",
"-std=c++1z",
"-fdiagnostics-color=always",
"-g",
@@ -21,9 +25,39 @@
],
"group": {
"kind": "build",
"isDefault": true
"isDefault": false
},
"detail": "Task generated by Debugger."
},
{
"type": "cppbuild",
"label": "C/C++: mingw build project",
"command": "/usr/bin/x86_64-w64-mingw32-g++",
"args": [
"-std=gnu++17",
"-g",
"-static-libstdc++",
"-static-libgcc",
"-o",
"./chess.exe",
"*.cpp",
"-ISDL2/include/",
"-LSDL2/lib/",
"-lmingw32",
"-lSDL2main",
"-lSDL2"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": ""
}
],
"version": "2.0.0"