formulahendry / vscode-code-runner

Code Runner for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner
MIT License
2.16k stars 287 forks source link

code runner showing "Running" but no output #530

Open premsinghjani opened 4 years ago

premsinghjani commented 4 years ago

Error

Error2

showing run but no output value or result when i writing c program....

premsinghjani commented 4 years ago

@formulahendry @philmueller @tomgi @manoelcampos

Plz Reply

JeffreyCA commented 4 years ago

Since you are accepting input you should set the setting "code-runner.runInTerminal" to true.

DaminiPandey commented 2 years ago

Make sure to check ✅ the " Code-runner : Run in Terminal " in the settings of VS Code. It will then allow Code Runner to run your code in Integrated Terminal.

CosmicYokai commented 2 years ago

Make sure to check ✅ the " Code-runner : Run in Terminal " in the settings of VS Code. It will then allow Code Runner to run your code in Integrated Terminal.

thank you for the advice it worked. been frustrated for long, as i was writting my first code. ty.

AuroraBlachat2 commented 1 year ago

what if the output has nothing on it but the code runs in the terminal?

101010watson commented 3 weeks ago

Make sure to check ✅ the " Code-runner : Run in Terminal " in the settings of VS Code. It will then allow Code Runner to run your code in Integrated Terminal.

this is the right solution to the problem

matronator commented 2 weeks ago

Same issue, even if I check to run in terminal.