i have problem with VS code i run my code and it stay show "Running" and no thing done.
in output show it
"[Running] cd "c:\Users\moham\Desktop" && gcc test1.c -o test1 && "c:\Users\moham\Desktop"test1 "
CodePudding user response:
You need to correctly configure your Code Runner
extension from the generated JSON config
under .vscode
folder in your workspace. Also, you might haven't focused you've opened GitHub Authentication
output log, not the code runner's if it actually ran successfully, which doesn't seem:
If you find it hard to configure, then switch to the Terminal section and type the following command to compile and execute it manually:
gcc -o main main.c #compiling
than
./main #executing
CodePudding user response:
Try to open manage-settings-extensions-run code configuration-run in terminal. After this, the output can be shown on the terminal tab.