커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
디버깅 오류
C++ 문법 뽀개기 v2
1주차
북마크
유*욱
댓글
3
추천
0
조회수
19
조회수
19
답변 완료
스파르타 즉문즉답

자꾸 이렇게 뜨는데 어떻게 해결하나요??


<tasks.json>

{

    "tasks": [

        {

            "type": "cppbuild",

            "label": "C/C++: g++.exe test build",

            "command": "C:\\Program Files\\mingw64\\bin\\g++.exe",

            "args": [

                "-fdiagnostics-color=always",

                "-g",

                "${file}",

                "-o",

                "${fileDirname}\\temp.exe"

            ],

            "options": {

                "cwd": "${fileDirname}"

            },

            "problemMatcher": [

                "$gcc"

            ],

            "group": {

                "kind": "build",

                "isDefault": true

            },

            "detail": "디버거에서 생성된 작업입니다."

        }

    ],

    "version": "2.0.0"

}



<launch.json>

{

  "version": "0.2.0",

  "configurations": [

    {

      "name": "C/C++ Runner: Debug Session",

      "type": "cppdbg",

      "request": "launch",

      "args": [],

      "stopAtEntry": false,

      "externalConsole": true,

      "cwd": "c:/Users/유제욱/sparta/cpp/part1/1-2",

      "program": "c:/Users/유제욱/sparta/cpp/part1/1-2/build/Debug/outDebug",

      "MIMode": "gdb",

      "miDebuggerPath": "gdb",

      "setupCommands": [

        {

          "description": "Enable pretty-printing for gdb",

          "text": "-enable-pretty-printing",

          "ignoreFailures": true

        }

      ]

    }

  ]

}

취소
 공유
취소
댓글 0
댓글 알림
나의얼굴