The problem is when I print there is excessive data, as shown below, can anyone find a solution to this? [duplicate]

20 hours ago 2
ARTICLE AD BOX

I think I have a better solution than the other answers. Just copy-paste the code below:

{ "workbench.colorTheme": "Solarized Dark", "editor.mouseWheelZoom": true, "editor.fontSize": 18, "git.enableSmartCommit": true, "code-runner.clearPreviousOutput": false, "editor.snippetSuggestions": "top", "window.zoomLevel":0, "workbench.startupEditor": "newUntitledFile", "code-runner.runInTerminal": false, "code-runner.runInOutput": true, "code-runner.saveFileBeforeRun":true, "type": "c", "name": "Debug (Launch) - Current File", "request": "launch", "args": "", "console": "internalConsole", "mainClass": "${file}", "code-runner.ignoreSelection": true, "terminal.integrated.tabs.enabled": true, "json.schemas": [ ], "launch": { "configurations": [], "compounds": [] } }

Go to File > Preference > Search json.setting > setting.json edit and simply paste it there.

"code-runner.runInTerminal": false, "code-runner.runInOutput": true,

Check these two especially, after doing everything, you will get your output at "output".

Read Entire Article