Run C Program in Visual Studio Code

preview_player
Показать описание
If you want to learn programming in a very efficient manner so it is essential to know about new tools and it's the environment.

Here I'm explaining how to run the C/C++ program in visual studio code step by step using some extensions.

visual studio is very powerful editor nowadays we can run any programming language in it.

download visual studio.

download GCC compiler.
Рекомендации по теме
Комментарии
Автор

Take input from user you need to change your setting.json file.
1. -- find setting.json -> press ctrl + shift + p then type setting.

2..-- In your setting.json file, add -- "code-runner.runInTerminal": true

jsguruatul
Автор

Very very thankful to you.i am waste my whole to think that why my program is not run.After a long time i found this video, Now my problem is solved thankyou So much Sir 💯❤️

keshavarya
Автор

It is saying 'gcc' is not recognised as an internal or external command

saiteja
Автор

Thank you soo much your vedio is very appriciable, I didn't find the solution to run program, now i getthank you soo much

yasheshchauhan
Автор

Thanks very much I watched a lot of videos and only yours helped <3

seventeen
Автор

Thank You So So Much For This Code Runner You Are Great 🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🥳🥳🥳🥳

choureabhishek
Автор

Yes happy so much thanx your video really helped me so much .

sejalkashyap
Автор

but why install MINGW software for running c, c++ in vs code..
Then why that MNGW path is creating to our environment variables????

bharathsripathi
Автор

after running my c program it is showing some errors like
bash: cd: too many arguments

ankitnayal
Автор

After adding c/c++ extension to the VS.. I started to code like #include <stdio.h>
But, I'm getting the following error: "# include errors detected please update your include after I found my c..cpp..properties. json file....ehat should I include there? ...please help to solve this issue..

jayanthi
Автор

Thank you very much sir you helped me alot sir thanking you sir

sdas
Автор

thanks from very long i was searching for this

nimesh
Автор

In terminal it shows, clang: error: linker command failed with exit code 1, help me sir

prabalparihar
Автор

after i install vs code.i got this error..such as "command 'code-runner not found" and "extension host terminated unexpectedly" . can you please help me to fix this issue sir..

PrithviIndia
Автор

It is showing ' extension host terminated unexpectedly.'
Please help

nila-
Автор

cl.exe build and debug is only usable when VS Code is run from the Developer Command Prompt for VS. show an error after installtion of cc++ and code runner

tricksandtips
Автор

I am getting error while installing code runner... it ask me to download manually from vsix

pencilcreations
Автор

Apki music ne mere years diffuse kar diye...

nitu_
Автор

Sir, it is saying try the new cross-platform powershell and then a link is given in the terminal please help

shouryaraj
Автор

Please help me to sort out this problem. This is the output when a try to run any program :-


Copyright (C) Microsoft Corporation. All rights reserved.

PS D:\--C--> cd "d:\--C--\" ; if ($?) { gcc first.c -o first } ; if ($?) { .\first }
gcc : The term 'gcc' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:28
+ cd "d:\--C--\" ; if ($?) { gcc first.c -o first } ; if ($?) { .\first ...
+ ~~~
+ CategoryInfo : ObjectNotFound: (gcc:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS D:\--C-->

vimalanss
join shbcf.ru