c++vscode-code-runner

VS code C++ Code output not showing in Terminal


So when i run a c++ code it is giving output in OUTPUT but i want it in terminal as i have to input some values so What should i do?

I tried changing the compiler but still it is not working. If anyone knows please let me know about it.


Solution

  • Terminal support is documented by the extension:

    [REPL support] To set whether to run code in Integrated Terminal (only support to run whole file in Integrated Terminal, neither untitled file nor code snippet) (default is false):

    "code-runner.runInTerminal": false