Xem STL Containers: vector, map, list,... C++ trong VS Code

Em muốn dùng VS Code nhưng hiện tại em không thể nào xem được nội dung trong các vector, queue, … Mong mọi người giúp đỡ, đây là file launch.json của em

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "g++.exe build and debug active file",
            "type": "cppdbg",
            "request": "launch",
            "program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": true,
            "MIMode": "gdb",
            "miDebuggerPath": "C:\\MinGW\\bin\\gdb.exe",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                }
            ],
            "preLaunchTask": "g++.exe build active file"
        }
    ]
}

Vài cú click chuột nữa là ra rồi mà. :sweat_smile:

4 Likes

install VS 2019 Community là lẹ nhất em ơi, mất nửa tiếng install :V còn hơn tìm cả ngày ko thấy lời giải :V

6 Likes

qua mấy tháng vẫn không có cao nhân nào giúp em được ạ :sob:

83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?