formulahendry / vscode-code-runner

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

code runner showing "Running" but no output #530

Open premsinghjani opened 5 years ago

premsinghjani commented 5 years ago

Error

Error2

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

premsinghjani commented 5 years ago

@formulahendry @philmueller @tomgi @manoelcampos

Plz Reply

JeffreyCA commented 5 years ago

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

DaminiPandey commented 3 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 5 months 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 5 months ago

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