Skip to content

Commit

Permalink
tested out using in wsl
Browse files Browse the repository at this point in the history
  • Loading branch information
Ynng committed Jan 29, 2021
1 parent 336cd26 commit de0ca7c
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 3 deletions.
23 changes: 21 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
{
"configurations": [


{
"name": "(gdb) Launch - Linux",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "build file - Linux",
"miDebuggerPath": "/usr/bin/gdb"
},
{
"type": "java",
"name": "CodeLens (Launch) - CCC00j2",
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
"python.pythonPath": "C:\\Users\\wenqi\\miniconda3\\python.exe",
"python.linting.flake8Enabled": false,
"competitive-programming-helper.firstTime": false,
"peacock.color": "#007fff",
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#3399ff",
"activityBar.activeBorder": "#bf0060",
Expand All @@ -119,5 +120,4 @@
"titleBar.inactiveBackground": "#007fff99",
"titleBar.inactiveForeground": "#e7e7e799"
},
"peacock.color": "#007fff",
}
10 changes: 10 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,15 @@
}
}
},
{
"type": "shell",
"label": "build file - Linux",
"command": "/usr/bin/g++",
"args": ["-g", "${file}", "-o", "${fileDirname}/${fileBasenameNoExtension}"],
"options": {
"cwd": "/usr/bin"
},
"problemMatcher": ["$gcc"],
}
]
}
Binary file added WAC/wac6p4
Binary file not shown.
Binary file added a.out
Binary file not shown.

0 comments on commit de0ca7c

Please sign in to comment.