Skip to content

Commit 7074103

Browse files
committed
bug fix for issue #2
1 parent c98f433 commit 7074103

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"name": "(gdb) Launch",
99
"type": "cppdbg",
1010
"request": "launch",
11-
"program": "${workspaceRoot}/a.out",
11+
"program": "${fileDirname}/a.out",
1212
"args": [],
1313
"stopAtEntry": false,
1414
"cwd": "${workspaceFolder}",

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"editor.formatOnSave": true, // 保存のたびにコードを整形する
2+
"editor.formatOnSave": true,
3+
"files.associations": {
4+
"iostream": "cpp"
5+
}, // 保存のたびにコードを整形する
36
}

.vscode/tasks.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
"-std=gnu++17",
2222
"-march=native",
2323
"-mtune=native",
24-
"${relativeFile}"
24+
"${file}",
25+
"-o",
26+
"${fileDirname}/a.out",
2527
],
2628
"group": {
2729
"kind": "build",

a.out

416 KB
Binary file not shown.

0 commit comments

Comments
 (0)