大厂笔试题
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "type": "shell",
  6. "label": "compile",
  7. "command": "gcc",
  8. "args": [
  9. "-g",
  10. "${file}",
  11. "-o",
  12. "${fileDirname}\\${fileBasenameNoExtension}.exe"
  13. ],
  14. "problemMatcher": [
  15. "$gcc"
  16. ],
  17. "group": "build"
  18. },
  19. {
  20. "type": "cppbuild",
  21. "label": "C/C++: gcc.exe build active file",
  22. "command": "E:\\mingw64\\mingw64\\mingw64\\bin\\gcc.exe",
  23. "args": [
  24. "-fdiagnostics-color=always",
  25. "-g",
  26. "${file}",
  27. "-o",
  28. "${fileDirname}\\${fileBasenameNoExtension}.exe"
  29. ],
  30. "options": {
  31. "cwd": "${fileDirname}"
  32. },
  33. "problemMatcher": [
  34. "$gcc"
  35. ],
  36. "group": {
  37. "kind": "build",
  38. "isDefault": true
  39. },
  40. "detail": "Task generated by Debugger."
  41. }
  42. ]
  43. }