Skip to content

Commit 5896a4f

Browse files
committed
added more codes
1 parent 16ed7a8 commit 5896a4f

File tree

3 files changed

+32
-4
lines changed

3 files changed

+32
-4
lines changed

.vscode/tasks.json

+24-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@
1818
"problemMatcher": [
1919
"$gcc"
2020
],
21-
"group": {
22-
"kind": "build",
23-
"isDefault": true
24-
},
21+
"group": "build",
2522
"detail": "Task generated by Debugger."
2623
},
2724
{
@@ -63,6 +60,29 @@
6360
],
6461
"group": "build",
6562
"detail": "Task generated by Debugger."
63+
},
64+
{
65+
"type": "cppbuild",
66+
"label": "C/C++: gcc.exe build active file",
67+
"command": "C:\\MinGW\\bin\\gcc.exe",
68+
"args": [
69+
"-fdiagnostics-color=always",
70+
"-g",
71+
"${file}",
72+
"-o",
73+
"${fileDirname}\\${fileBasenameNoExtension}.exe"
74+
],
75+
"options": {
76+
"cwd": "${fileDirname}"
77+
},
78+
"problemMatcher": [
79+
"$gcc"
80+
],
81+
"group": {
82+
"kind": "build",
83+
"isDefault": true
84+
},
85+
"detail": "Task generated by Debugger."
6686
}
6787
],
6888
"version": "2.0.0"

array/a.out

15.7 KB
Binary file not shown.

c_programming.code-workspace

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "."
5+
}
6+
],
7+
"settings": {}
8+
}

0 commit comments

Comments
 (0)