Skip to content

Commit f50af48

Browse files
committed
Update Ex01 with Visual Studio 2022 solution
1 parent d8b929e commit f50af48

19 files changed

+923
-417
lines changed

.gitignore

+407-407
Large diffs are not rendered by default.

.vscode/launch.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "C/C++: g++ build and debug active file",
5+
"type": "cppdbg",
6+
"request": "launch",
7+
"program": "${fileDirname}/${fileBasenameNoExtension}",
8+
"args": [],
9+
"stopAtEntry": false,
10+
"cwd": "${fileDirname}",
11+
"environment": [],
12+
"externalConsole": false,
13+
"MIMode": "gdb",
14+
"setupCommands": [
15+
{
16+
"description": "Enable pretty-printing for gdb",
17+
"text": "-enable-pretty-printing",
18+
"ignoreFailures": true
19+
},
20+
{
21+
"description": "Set Disassembly Flavor to Intel",
22+
"text": "-gdb-set disassembly-flavor intel",
23+
"ignoreFailures": true
24+
}
25+
],
26+
"preLaunchTask": "C/C++: g++ build active file",
27+
"miDebuggerPath": "/usr/bin/gdb"
28+
}
29+
],
30+
"version": "2.0.0"
31+
}

.vscode/settings.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"files.associations": {
3+
"iostream": "cpp",
4+
"ostream": "cpp"
5+
}
6+
}

.vscode/tasks.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"tasks": [
3+
{
4+
"type": "cppbuild",
5+
"label": "C/C++: g++ build active file",
6+
"command": "/usr/bin/g++",
7+
"args": [
8+
"-fdiagnostics-color=always",
9+
"-g",
10+
"${fileDirname}/*.cpp",
11+
"-o",
12+
"${fileDirname}/${fileBasenameNoExtension}"
13+
],
14+
"options": {
15+
"cwd": "${fileDirname}"
16+
},
17+
"problemMatcher": [
18+
"$gcc"
19+
],
20+
"group": {
21+
"kind": "build",
22+
"isDefault": true
23+
},
24+
"detail": "Task generated by Debugger."
25+
}
26+
],
27+
"version": "2.0.0"
28+
}

.vscode_gcc/c_cpp_properties.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Win32",
5+
"includePath": [
6+
"${workspaceFolder}/**",
7+
"${vcpkgRoot}/x64-windows/include"
8+
],
9+
"defines": [
10+
"_DEBUG",
11+
"UNICODE",
12+
"_UNICODE"
13+
],
14+
"windowsSdkVersion": "10.0.22000.0",
15+
"compilerPath": "C:/msys64/mingw64/bin/g++.exe",
16+
"cStandard": "c17",
17+
"cppStandard": "c++17",
18+
"intelliSenseMode": "windows-gcc-x64"
19+
}
20+
],
21+
"version": 4
22+
}

.vscode_gcc/launch.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "C/C++: g++.exe build and debug active file",
5+
"type": "cppdbg",
6+
"request": "launch",
7+
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
8+
"args": [],
9+
"stopAtEntry": false,
10+
"cwd": "C:/msys64/mingw64/bin",
11+
"environment": [],
12+
"externalConsole": false,
13+
"MIMode": "gdb",
14+
"miDebuggerPath": "C:\\msys64\\mingw64\\bin\\gdb.exe",
15+
"setupCommands": [
16+
{
17+
"description": "Enable pretty-printing for gdb",
18+
"text": "-enable-pretty-printing",
19+
"ignoreFailures": true
20+
},
21+
{
22+
"description": "Set Disassembly Flavor to Intel",
23+
"text": "-gdb-set disassembly-flavor intel",
24+
"ignoreFailures": true
25+
}
26+
],
27+
"preLaunchTask": "C/C++: g++.exe build active file"
28+
}
29+
],
30+
"version": "2.0.0"
31+
}

.vscode_gcc/settings.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"files.associations": {
3+
"iostream": "cpp",
4+
"typeinfo": "cpp"
5+
}
6+
}

.vscode_gcc/tasks.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"tasks": [
3+
{
4+
"type": "cppbuild",
5+
"label": "C/C++: g++.exe build active file",
6+
"command": "C:/msys64/mingw64/bin/g++.exe",
7+
"args": [
8+
"-finput-charset=UTF-8",
9+
"-fdiagnostics-color=always",
10+
"-g",
11+
"-Wall",
12+
"${fileDirname}/*.cpp",
13+
"-o",
14+
"${fileDirname}\\${fileBasenameNoExtension}.exe"
15+
],
16+
"options": {
17+
"cwd": "C:/msys64/mingw64/bin"
18+
},
19+
"problemMatcher": [
20+
"$gcc"
21+
],
22+
"group": {
23+
"kind": "build",
24+
"isDefault": true
25+
},
26+
"detail": "Task generated by Debugger."
27+
}
28+
],
29+
"version": "2.0.0"
30+
}

.vscode_msvc/c_cpp_properties.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Win32",
5+
"includePath": [
6+
"${workspaceFolder}/**",
7+
"${vcpkgRoot}/x64-windows/include"
8+
],
9+
"defines": [
10+
"_DEBUG",
11+
"UNICODE",
12+
"_UNICODE"
13+
],
14+
"windowsSdkVersion": "10.0.22000.0",
15+
"compilerPath": "cl.exe",
16+
"cStandard": "c17",
17+
"cppStandard": "c++17",
18+
"intelliSenseMode": "windows-msvc-x64"
19+
}
20+
],
21+
"version": 4
22+
}

.vscode_msvc/launch.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "C/C++: cl.exe build and debug active file",
5+
"type": "cppvsdbg",
6+
"request": "launch",
7+
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
8+
"args": [],
9+
"stopAtEntry": false,
10+
"cwd": "${fileDirname}",
11+
"environment": [],
12+
"console": "integratedTerminal",
13+
"preLaunchTask": "C/C++: cl.exe 활성 파일 빌드"
14+
}
15+
],
16+
"version": "2.0.0"
17+
}

.vscode_msvc/tasks.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"tasks": [
3+
{
4+
"type": "cppbuild",
5+
"label": "C/C++: cl.exe 활성 파일 빌드",
6+
"command": "cl.exe",
7+
"args": [
8+
"/Zi",
9+
"/EHsc",
10+
"/nologo",
11+
"/Fe${fileDirname}\\${fileBasenameNoExtension}.exe",
12+
"${fileDirname}/*.cpp",
13+
],
14+
"options": {
15+
"cwd": "${fileDirname}"
16+
},
17+
"problemMatcher": [
18+
"$msCompile"
19+
],
20+
"group": {
21+
"kind": "build",
22+
"isDefault": true
23+
},
24+
"detail": "디버거에서 생성된 작업입니다."
25+
}
26+
],
27+
"version": "2.0.0"
28+
}
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Linux",
5+
"includePath": [
6+
"${workspaceFolder}/**"
7+
],
8+
"defines": [],
9+
"compilerPath": "/usr/bin/gcc",
10+
"cStandard": "c17",
11+
"cppStandard": "gnu++14",
12+
"intelliSenseMode": "linux-gcc-x64"
13+
}
14+
],
15+
"version": 4
16+
}

.vscode_wsl(ubuntu)/launch.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "C/C++: g++ build and debug active file",
5+
"type": "cppdbg",
6+
"request": "launch",
7+
"program": "${fileDirname}/${fileBasenameNoExtension}",
8+
"args": [],
9+
"stopAtEntry": false,
10+
"cwd": "${fileDirname}",
11+
"environment": [],
12+
"externalConsole": false,
13+
"MIMode": "gdb",
14+
"setupCommands": [
15+
{
16+
"description": "Enable pretty-printing for gdb",
17+
"text": "-enable-pretty-printing",
18+
"ignoreFailures": true
19+
},
20+
{
21+
"description": "Set Disassembly Flavor to Intel",
22+
"text": "-gdb-set disassembly-flavor intel",
23+
"ignoreFailures": true
24+
}
25+
],
26+
"preLaunchTask": "C/C++: g++ build active file",
27+
"miDebuggerPath": "/usr/bin/gdb"
28+
}
29+
],
30+
"version": "2.0.0"
31+
}

.vscode_wsl(ubuntu)/tasks.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"tasks": [
3+
{
4+
"type": "cppbuild",
5+
"label": "C/C++: g++ build active file",
6+
"command": "/usr/bin/g++",
7+
"args": [
8+
"-fdiagnostics-color=always",
9+
"-g",
10+
"${fileDirname}/*.cpp",
11+
"-o",
12+
"${fileDirname}/${fileBasenameNoExtension}"
13+
],
14+
"options": {
15+
"cwd": "${fileDirname}"
16+
},
17+
"problemMatcher": [
18+
"$gcc"
19+
],
20+
"group": {
21+
"kind": "build",
22+
"isDefault": true
23+
},
24+
"detail": "Task generated by Debugger."
25+
}
26+
],
27+
"version": "2.0.0"
28+
}

0 commit comments

Comments
 (0)