Тёмный

How to Set up Visual Studio Code for C and C++ Programming 

LearningLad
Подписаться 292 тыс.
Просмотров 3,9 млн
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3,4 тыс.   
@EduardoMengesMattje
@EduardoMengesMattje 3 года назад
the fact that this video has 1 million views shows how bad vscode is at telling the user basic functionality
@shivakumar-lv6wr
@shivakumar-lv6wr 2 года назад
Absolutely!, This was super simple!
@Player-fx3vt
@Player-fx3vt 2 года назад
Hmmm, that getting started page with links to documentation and learning the fundamentals about it. I don't think that's telling you that stuff at all .
@ytg6663
@ytg6663 2 года назад
Clearly You are Gey👍
@chairmanmao112
@chairmanmao112 2 года назад
2.365786 million*
@nomankhan7190
@nomankhan7190 2 года назад
Right.
@Alex-co4hx
@Alex-co4hx 4 года назад
Man you're a life changer. You made everything 10 times easier than it was shown in VSC's C++ installation guide.
@LearningLad
@LearningLad 4 года назад
glad that my video helped you :)
@eyeofthepyramid2596
@eyeofthepyramid2596 4 года назад
@@LearningLad it shows me error: ld returned 1 exit status
@williammatiz9745
@williammatiz9745 4 года назад
@@eyeofthepyramid2596 I don't know if you have figured it out yet but just in case, you need to save it before you run the program. Couple of ways to do it, but the easiest way is control + s. I got the same message you did and did the save thing, works well. I hope this helps!
@ArshdeepSingh-ix3bg
@ArshdeepSingh-ix3bg 4 года назад
@@LearningLad th cc++ extension is not working ,please help
@Alpha-uw6wn
@Alpha-uw6wn 3 года назад
Sir where u live in India?
@pratikanand5161
@pratikanand5161 2 года назад
This is a great tutorial, I was stuck on configuring VS Code for C/C++ for hours and this video was very simple and easy to follow. Thanks a lot for the simple tutorial, it really helped a lot. Everything went smooth and VS code works perfectly!
@1mol831
@1mol831 Год назад
Code runner doesn't work for my version, I'm just using another method instead. Even notepad is easier.
@divyanshsati1116
@divyanshsati1116 4 года назад
For people who are unable to get the output, save your code with ctrl s, and then run!
@rafaelfernandez725
@rafaelfernandez725 4 года назад
you saved me
@LearningLad
@LearningLad 4 года назад
thank you for the comment
@ROSSB177
@ROSSB177 4 года назад
oh my thank you so much...i.I was going crazy
@siddharth9703
@siddharth9703 4 года назад
Yo thank you bro same here thanks very much🤩🤩🤩🤩🤩
@zainabsyeda5644
@zainabsyeda5644 4 года назад
This was unbelievably easy and it worked perfectly fine! I was breaking my head for two hours until i came across your video(s). Thank you so much for these tutorials.
@LearningLad
@LearningLad 4 года назад
You're welcome!
@aqtedarkazim9678
@aqtedarkazim9678 Год назад
shia
@midnari
@midnari 2 года назад
Alright, the fact that you popped immediately for a C/C++ Visual Studios tutorial after you helped me with MinGW means you get my subscription. You're, sir, are fantastic.
@Scottylili
@Scottylili 4 года назад
you're a life saver it was driving me crazy (didn't know how to run the code so it accepts input)
@sleepyretroid
@sleepyretroid 2 года назад
Thank you LearningLad for making this way quicker and easier than anything else I found! Just as a heads up in case anyone else runs into this: When I first got everything set up and tried to run the Hello World example, it threw this error: undefined reference to `WinMain' collect2.exe: error: ld returned 1 exit status All I had to do was save the file first by going File > Save and then it worked just fine.
@LearningLad
@LearningLad 2 года назад
most welcome :)
@Oskar-zt9dc
@Oskar-zt9dc 2 года назад
Actually, it will be easier if you activate autosave
@LoradLP
@LoradLP 2 года назад
Thank you, that saved me from like 15 min of googling probably :)
@daisy6672
@daisy6672 Год назад
Thanku so much
@synth-_-5093
@synth-_-5093 7 месяцев назад
Thank you so much I thought I did something wrong was gonna watch all the vids back lol
@utkarshaggarwal1110
@utkarshaggarwal1110 2 года назад
after wasting my whole day on just this simple setting i repteadly installed and uninstalled my vscode thinking i am doing something wrong. and then finally i watched this video. thanks a lot man.
@LearningLad
@LearningLad 2 года назад
pleasure :)
@srilalitabhuvaneswarid
@srilalitabhuvaneswarid 2 года назад
4:38 but I am getting output like this... " 'gcc' is not recognized as an internal or external command, operable program or batch file." instead of hello world
@GiveBackGlory
@GiveBackGlory 2 года назад
he did not tell how to install compiler to run code
@prog-255
@prog-255 Год назад
I got same thing
@ishu4370
@ishu4370 3 месяца назад
same here
@AnGhaeilge
@AnGhaeilge Месяц назад
You need to install MinGW
@Nuggz_TV
@Nuggz_TV 3 года назад
Dude fucken finally I missed a whole class trying to follow someone else and with you it was smooth as butter, thanks man
@LearningLad
@LearningLad 3 года назад
Pleasure
@wotizit
@wotizit 3 года назад
nws
@kshau_
@kshau_ 2 года назад
Don't curse.
@blubbermammoth8426
@blubbermammoth8426 2 года назад
@@kshau_ I don't think the internet is the place for you then mate.
@kshau_
@kshau_ 2 года назад
@@blubbermammoth8426 Shut up.
@lloyd9241
@lloyd9241 Год назад
Thank you so much I was searching on how to use the input scanf and your tutorials really helped me, thank you very much
@LearningLad
@LearningLad Год назад
You're welcome!
@luisespinoza3562
@luisespinoza3562 3 года назад
Thank you!!! I'm just starting to code in c++ and my professor couldn't explain it as easily as you just did!!
@LearningLad
@LearningLad 3 года назад
You're very welcome!
@abhishekchaudhary6975
@abhishekchaudhary6975 3 года назад
Really helpful sir. I saw atlest 10 tutorials but none of them worked. Your tutorial series worked for me. Life saver!! I hope this channel crosses 1M subscriber soon. Such an underrated channel.
@LearningLad
@LearningLad 3 года назад
Glad it helped
@kimvo4929
@kimvo4929 8 месяцев назад
This video saves tons of time! I had been struggling with compiling and running C in vscode for hours, and then I found this video. It's so helpful, straightforward. Thank you so much!
@LearningLad
@LearningLad 8 месяцев назад
Most welcome
@Quiselott
@Quiselott Год назад
Man I would have never gotten this without you! Professor didn't want to teach us how to setup VS Code. THANKS!
@LearningLad
@LearningLad Год назад
glad my video helped you :)
@박주현-d8z
@박주현-d8z 3 года назад
Thank you so much for this video!! Was having a hard time finding out how to put inputs into my code and you saved me :)
@LearningLad
@LearningLad 3 года назад
You are welcome!
@prog-255
@prog-255 Год назад
'gcc' is not recognized as an internal or external command, operable program or batch file.
@marrrinus
@marrrinus 9 месяцев назад
Same problem. Did you solve it?
@prog-255
@prog-255 9 месяцев назад
@@marrrinus no
@marrrinus
@marrrinus 9 месяцев назад
@@prog-255 I solved it. 1. Installed WSL on Windows 10, installed gcc in Ubuntu Terminal. 2. I changed the Remote Window in VS Code to WSL
@sudhirpadhye7093
@sudhirpadhye7093 4 года назад
Excellent videos. I followed every step that you have explained for C CPP and Python and its working. I had tried this many times but never worked. Thank you very much!
@LearningLad
@LearningLad 4 года назад
my pleasure :)
@Mohitgamming7777
@Mohitgamming7777 3 года назад
Thanks bhai tune to jindgi hi badal di.😂 pareshan ho gaya tha in online compilers se. Very very very thanks 🙏🙏🙏
@LearningLad
@LearningLad 3 года назад
glad this tutorial helped you :)
@debashisdas3693
@debashisdas3693 Год назад
i did exactly like you but whenever i try to run the code , the output gives me 'gcc' is not recognized as an internal or external command.
@FazriGading
@FazriGading 3 года назад
thank you so much for the Run in Terminal, i don't even know that earlier!!!
@LearningLad
@LearningLad 3 года назад
Welcome!
@sakshamchaturvedi
@sakshamchaturvedi 3 года назад
Thank you so much for this! In comparison to your video, other installation guides are just useless. Great work 💯
@LearningLad
@LearningLad 3 года назад
You're welcome!
@hypead5507
@hypead5507 Год назад
Helped me a alot i have been trying to run a C program on vsc but there was some issue with mingw now after following your steps everything is working fine thanks alot.
@LearningLad
@LearningLad Год назад
You're welcome!
@victorstone3720
@victorstone3720 3 года назад
Thank you so much for your help. I really liked the way you explained each step! Now I can execute C program on VS code, looking forward to some more amazing content.
@LearningLad
@LearningLad 3 года назад
Glad this video helped you. Will make more content :)
@justbeagoodperson4826
@justbeagoodperson4826 3 года назад
Am I the only one who is getting ' cannot open source file "iostream" ' :'-( Solution please!!! Okay got the solution: First watch the video in the description of this video!!! Thanks man it worked :'-)
@amolmagar6468
@amolmagar6468 3 года назад
"Iostream " such file not found but I already download extension plz help if you already solve it
@justbeagoodperson4826
@justbeagoodperson4826 3 года назад
@@amolmagar6468 Yeah delete all the downloads you did and do all the steps in the video again that might work 👍
@amolmagar6468
@amolmagar6468 3 года назад
@@justbeagoodperson4826 I have resolved it. I was not given. Cpp extension for c++ file and also gpp instead of gcc.
@thang.d2382
@thang.d2382 2 года назад
Thank you so much for the help. I don't know why people clicked on the dislike button when the video is very helpful. Maybe the accent is hard to understand sometimes but I don't care actually. Just focusing on the result. IT WORKS 100% SURE - you got a big thumbs-up from me bro
@LearningLad
@LearningLad 2 года назад
Thank you
@alvarozs6538
@alvarozs6538 3 года назад
This last part, run in the terminal, is just which I was looking for. Thank you so much.
@LearningLad
@LearningLad 3 года назад
You are welcome!
@marjoriejohnson9421
@marjoriejohnson9421 3 года назад
this was great. fast and painless. Thank you so much!
@LearningLad
@LearningLad 3 года назад
You're welcome!
@ritwikasasmal2580
@ritwikasasmal2580 Год назад
I was struggling to configure C/C++ with VS code for hours. thank you for making it so easy! :)
@LearningLad
@LearningLad Год назад
welcome :)
@rockonthehill1618
@rockonthehill1618 4 года назад
I HAVE BEEN SEARCHING SO MUCH TIME FOR THIS. THANK YOU MAN, YOURE AWESOME
@LearningLad
@LearningLad 4 года назад
No problem!
@qwertyman506
@qwertyman506 3 года назад
Thank you so much!!! By the way, if anyone can't find the "Run code configuration" on the left side, type in "Run code" in the search bar. "Extensions" should show up, and under it will be the run code configuration option. It seems that's changed since this video was published.
@LearningLad
@LearningLad 3 года назад
Thank you for posting this :)
@Vule_20
@Vule_20 2 года назад
I don't get anything popping up when I type "Run code" in the search bar, it doesn't reveal The Run code configuration option under "Extensions"
@賴廷恩-f8h
@賴廷恩-f8h 3 года назад
wow ,oh my. I have searched "many many" videos and articles to find this problem until I meet this! It's a very cool video just take 7mins. Thanks, that's very helpful .
@LearningLad
@LearningLad 3 года назад
Pleasure
@reymilocuevas3485
@reymilocuevas3485 3 года назад
Hey man. Thanks alot for this video. Very much appreciated, now that I lost my job to covid I can finally catch up and learn c++ and its all thanks to your help
@LearningLad
@LearningLad 3 года назад
Glad it helped!
@pradyumnapatil5190
@pradyumnapatil5190 3 года назад
THANK YOU! Can't tell you how much I have searched for the input issue.
@LearningLad
@LearningLad 3 года назад
Glad I could help!
@pranjaladhav9600
@pranjaladhav9600 3 года назад
@@LearningLad I am still gettotn error😭
@ratikvarshney
@ratikvarshney 2 года назад
sir ,i was so tensed that my vs code stoped working for hours but after I watched your video I am able to work again .Thanks a zillion sir.
@LearningLad
@LearningLad 2 года назад
Pleasure
@Martinko_Pcik
@Martinko_Pcik 3 года назад
Excellent help for beginners. As a suggestion you could also show where you can find the executable produced and how you can run it from anywhere. Even on a computer with nothing installed. Some people have hard time seeing the difference between interpreters like Java or python which both need some runtime environment to run the program in, vs the direct machine code running directly on OS.
@azhagurajaallinall126
@azhagurajaallinall126 2 года назад
Could you eelaborate this further,like how to run any code in any machine? Thanks in advance 😃 09.08.2022 7:17 pm ist
@puregold3935
@puregold3935 2 года назад
You have been a great help. Very clear instructions and easy to follow. Thank you so much ! I can finally start practicing C 😁
@user-nm4vn9tq5o
@user-nm4vn9tq5o 3 года назад
Thanks a lot sir....I was very much frustrated since yesterday because vs code just wasn't getting set up. I even watched code with Harry,Apna college tutorials for vs code set up. Now I watched all your 3 tutorials and it worked for me. Thanks a lot sir.From now onwards I will regularly check out this channel..
@LearningLad
@LearningLad 3 года назад
Thank you Keep learning
@neidagarza8345
@neidagarza8345 3 года назад
This was SO helpful thank you so much!! I spent like 5 hours not realizing I needed a code runner extension 🤦🏽‍
@LearningLad
@LearningLad 3 года назад
Pleasure
@rajakumarhinchageri5327
@rajakumarhinchageri5327 3 года назад
gubad
@rajakumarhinchageri5327
@rajakumarhinchageri5327 3 года назад
gubad
@kausthub0454
@kausthub0454 2 года назад
@@LearningLad sir, I have installed the vs code and all what u have mentioned but aftr typing the code, when i run it nothing is being shown as output or error...please help sir
@vp4156
@vp4156 10 месяцев назад
Crystal Clear. Thank you Sir!
@LearningLad
@LearningLad 10 месяцев назад
You're welcome!
@mehjamilabonny4160
@mehjamilabonny4160 2 года назад
relief! watched so many videos to start up C programming. this video helped so simple and precise explanation
@LearningLad
@LearningLad 2 года назад
Glad it helped!
@arjunseal2417
@arjunseal2417 4 года назад
"'gcc' is not recognized as an internal or external command," this is the output i got even though i installed mingw. what should i do?
@vvekmathew
@vvekmathew 4 года назад
Add path. Then restart your computer and try again
@rasu84
@rasu84 4 года назад
@@vvekmathew How do I know the path where gcc is installed
@rasu84
@rasu84 4 года назад
@@renjithroy8422 Yeah thanks. I figured it out. This video assumes that people have already installed MinGW. Should have been clarified.
@renjithroy8422
@renjithroy8422 4 года назад
@@rasu84 Great. He had made another video where he explains on how to install MinGW, that's how I figured it out.
@shouryamkumar6158
@shouryamkumar6158 3 года назад
@@vvekmathew sir, I did add path to to environment variable but still getting same result. Also the files in my mingw folder are not showing .exe extension. PS. I have 32 bit windows.
@gamingstrom6004
@gamingstrom6004 3 года назад
While running the code it is saying gcc is not recognized as an internal or external command, Plz help
@anirudhsharma3168
@anirudhsharma3168 3 года назад
yes I am having the same issue !
@Memer2022
@Memer2022 3 года назад
@@anirudhsharma3168 link MinGW
@antonel_rch
@antonel_rch 3 года назад
@@Memer2022 how?
@Memer2022
@Memer2022 3 года назад
@@antonel_rch watch his video where he installs MinGW. Follow the procedure and then restart VS Code application.
@hahayes7205
@hahayes7205 3 года назад
Try adding the g++ and gcc path to your environment variables
@HamzaAli-we3lg
@HamzaAli-we3lg 2 года назад
Sir, Thanks a lot. I had been unable to run my C++ programs on VS code, I called it quit, saw your video and am back on VS code. Thanks.
@LearningLad
@LearningLad 2 года назад
Glad it helped
@succor5266
@succor5266 3 года назад
Brother it shows ""gcc" is not recognized as an internal or external command"
@RoarStaze
@RoarStaze Год назад
Restart vscode because if you added it to your environmental variable while vscode was running then vscode will output that it doesn’t recognize. Just a simple vscode restart but I’m sure you figured that out by now
@luccagazottovettori5600
@luccagazottovettori5600 3 года назад
man, you really saved my life. I'd been trying to run my code for hours before I saw this video. Thanks :)
@tahakarakas3983
@tahakarakas3983 2 года назад
i have watched tons of videos about my error none of these videos helped and you fixed perfectly thank you soo much
@LearningLad
@LearningLad 2 года назад
pleasure :)
@Dima-rj7bv
@Dima-rj7bv 3 года назад
This is exactly what I was looking for! Thank you for the exhaustive explanation!
@LearningLad
@LearningLad 3 года назад
Glad it was helpful!
@ShahidKhan-uf8hd
@ShahidKhan-uf8hd 4 года назад
I got an error saying "The system cannot execute the specified program.". What's do I do?
@turtles8229
@turtles8229 2 года назад
bro is showing while running hello world program it shows error of gcc is not recognised while i run the program
@sparshbaliyan5011
@sparshbaliyan5011 4 года назад
I am getting the error that says no such file or directory. How do I install stdio.h, please tell.
@connorlausch8054
@connorlausch8054 4 года назад
I had the same error, but it was because I had spelled it studio.h not stdio.h
@shalini6930
@shalini6930 4 года назад
While creating file name don't leave space. After typing without space, it run the output for me.
@MrWitherSkulls
@MrWitherSkulls 4 года назад
ctrl + s
@michelfotzo1276
@michelfotzo1276 3 года назад
try using return 1; instead of return0;
@manassehabraham5589
@manassehabraham5589 3 года назад
@@shalini6930 Thank you
@nikhilnautiyal4146
@nikhilnautiyal4146 4 года назад
These errors have been with me since the day I installed Visual Code: #include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (E:\Programs\C++\VISUAL\test.c). cannot open source file "iostream"
@sshadyzerapper7318
@sshadyzerapper7318 4 года назад
I have the exact same problem i hope there is a fix for it
@rajivkumarkale
@rajivkumarkale 4 года назад
@@sshadyzerapper7318 there is a fix, you have to include the path of your mingw compiler path in the configuration
@soumyadeeproy7605
@soumyadeeproy7605 4 года назад
@@rajivkumarkale what does that mean, care to explain ?
@Shaurya.R
@Shaurya.R 3 года назад
Thnks finally I can do c++!!
@LearningLad
@LearningLad 3 года назад
Awesome Keep learning :)
@shivakumar-lv6wr
@shivakumar-lv6wr 2 года назад
Your video was simple and easy to follow. I am saving this in a playlist for later!
@LearningLad
@LearningLad 2 года назад
Thank you Keep learning
@ScorchGod
@ScorchGod Год назад
thank you so much learning lad!! i was so lost in the installation guide of c++ from VS code
@LearningLad
@LearningLad Год назад
You are welcome!
@jamesrgamesoffical
@jamesrgamesoffical 3 года назад
Before I wanted to try c++ in visual studio code but I was using their tutorial and I was really confused but you made it easily understandable
@LearningLad
@LearningLad 3 года назад
glad it helped :)
@drazenklikovac2964
@drazenklikovac2964 2 года назад
@@LearningLad hey bro why does it say in my terminal that File format not recognized collect2.exe: error: ld returned 1 exit status? Im confused
@vijayalaxmibankar3498
@vijayalaxmibankar3498 Год назад
Thanks a lot for your video Sir I literally had to do installing and uninstalling process 3 times until I found you're video. Finally I installed successfully. Min gw and all the extensions. Thanks a lot sir
@LearningLad
@LearningLad Год назад
You are welcome
@pedronninci7374
@pedronninci7374 3 года назад
When i try to run my code i get the following error: gcc.exe: error: no such file or directory (but im already in the folder that is my program)
@LearningLad
@LearningLad 3 года назад
If the file name contains space then write the file name between double quotes
@pedronninci7374
@pedronninci7374 3 года назад
@@LearningLad thank you very much
@LearningLad
@LearningLad 3 года назад
If file or folder name contains spaces then remove them
@tanupriyatommy
@tanupriyatommy 4 года назад
It's amazing sir, nice explanation. And it's helped me alot. Thank you so much.
@LearningLad
@LearningLad 4 года назад
my pleasure :)
@sriram5839
@sriram5839 3 года назад
Hello sir The output isn't coming. Every time I need to press ctrl+s. Please tell me anything to avoid this thanks
@hemsharma7789
@hemsharma7789 Год назад
How did you get the program compiled? this extension doesn't include a compiler.
@lanatrzczka
@lanatrzczka 3 года назад
Thanks to you I got it! Absolutely fantastic tutorials! Hope you do some stuff in C so we can all learn from you.
@LearningLad
@LearningLad 3 года назад
Thanks, will do!
@rwakade3091
@rwakade3091 4 года назад
In this program #include error detected.and show update your include path.and can't open source file "stdio.h" display why can you explain me
@VANTABL4CK
@VANTABL4CK 4 года назад
did you find out?
@kalaigaming6902
@kalaigaming6902 4 года назад
You still need solution?
@sajidabanu3020
@sajidabanu3020 4 года назад
@@kalaigaming6902 yes i need
@raigorstonehoof6477
@raigorstonehoof6477 4 года назад
Try to disable your antivirus or make your antivirus allow it.
@Piyush13
@Piyush13 4 года назад
I'm also getting this error please help 🙏
@VaishnavP
@VaishnavP Год назад
This was the only video explaining about the " *Run in terminal* " setting. I was stuck in there.... Thank you so much
@LearningLad
@LearningLad Год назад
You're welcome!
@amarpratapsingh9415
@amarpratapsingh9415 3 года назад
This is called perfection..
@LearningLad
@LearningLad 3 года назад
thank you :)
@harrisbond4472
@harrisbond4472 4 года назад
I had a problem where the terminal said it "couln't find gcc" or something along those lines. I fixed it by running VSC as administrator.
@jofie2302
@jofie2302 4 года назад
@Furious Edits Use Explorer or command line (dir /S gcc.exe) to try and find the gcc executable. For me the installer installed it in c:\bin for whatever reason. I uninstalled, reinstalled and it worked ok second time around.
@dhruvinthakkar1872
@dhruvinthakkar1872 3 года назад
Yesss! I have finally done it🤘. Thanks you so so so so much... I am trying to do this setup from last 6 days and i constantly failed while doing this. i have seen many videos on this topic but they all were not working for me. But today suddenly i found your video on c/c++ setup and i thought "ok let's try another video " but ... Now i think clicking on your video was a great decision. I have seen your both videos : gcc and vs code setup. I am finally so happy that it worked, thank you so so much.
@LearningLad
@LearningLad 3 года назад
Pleasure
@nishanth8438
@nishanth8438 3 года назад
My god Awesome bro 🔥🔥🔥🔥 Today my day was fully wasted in this but now 🎉🎉🎉🎉
@LearningLad
@LearningLad 3 года назад
Glad to hear that
@Brain_With_Limbs
@Brain_With_Limbs 4 года назад
If it's still not running for you giving you an "Access Denied" error message. Check and see if you have an antivirus program such as McAfee or Norton, and try turning it off, close Visual Studio Code and open it again and try to run the program.
@swatisaxena5546
@swatisaxena5546 3 года назад
Thanks a ton
@erhanertem196
@erhanertem196 Год назад
C++ installation and now this...made my day..thanx..That read only output tab drove me crazy...
@LearningLad
@LearningLad Год назад
Glad it helped
@pratibhasoni2576
@pratibhasoni2576 2 года назад
When I run the program it is showing "gcc is not recognized" Please tell how to resolve this issue
@LearningLad
@LearningLad 2 года назад
if gcc is installed then make sure that you have properly set the path environment variable
@atakaravelioglu301
@atakaravelioglu301 3 года назад
Hi, Formerly i track your guide and i did it, but today i have a error: 'gcc' is not recognized as an internal or external command, operable program or batch file. I downloaded both of them. What can i do?
@meghnanakhate920
@meghnanakhate920 3 года назад
Same error. Please tell if you get some solution
@LearningLad
@LearningLad 3 года назад
check the path environment variable. if you have set it in the user variables section then try setting it in system variables section
@faadilshaikh1064
@faadilshaikh1064 2 года назад
@@LearningLad sir but kaha se karna hai isko
@erickgaticacandia967
@erickgaticacandia967 Год назад
FInally a video that worked for me, I'm starting with C++ and now I can run code, thank you !
@LearningLad
@LearningLad Год назад
You're welcome!
@harsh-ox9gy
@harsh-ox9gy 4 года назад
Hey,how to configure settings to build a task , debugging it and than creating an executable exe. File. I have been looking for it for months now.no video has helped me till date.either they are too old or are for mac .😭😭
@chandrashekarr1977
@chandrashekarr1977 3 года назад
Fantastic. Simple and easy to follow Language & to the point (no nonsense talkings to kill time) content. Thanks.
@LearningLad
@LearningLad 3 года назад
Pleasure
@gauranshchopra1100
@gauranshchopra1100 2 года назад
I had to start coding in c and c++ and this video of yours helped me a lot. thank you so much
@LearningLad
@LearningLad 2 года назад
Pleasure
@Flavzz
@Flavzz 4 года назад
For anyone having issues after enabling "Run in terminal" even if you click on "Stop code" CTRL+ALT+M -> and you keep getting the error message "Code is already running". Close you Visual Studio Code and run it again; should work.
@LearningLad
@LearningLad 4 года назад
Thank you for Posting :)
@lilmonkianime8084
@lilmonkianime8084 3 года назад
DAAAMN, THANK YOUU BERY MUCH!
@LearningLad
@LearningLad 3 года назад
my pleasure :)
@shai.mp4
@shai.mp4 2 года назад
@ 4:15 when you typed test.c , vscode did identify as a c program but mine isnt doing so. mine does identify .cc that is C++ but the isn't identifying .c file. help please.
@joypurohit5404
@joypurohit5404 4 года назад
cd "c:\Users\Joy Purohit\OneDrive\Desktop\vs code c++ work\" ; if ($?) { g++ test.cpp -o test } ; if ($?) { .\test } mera bas yeh terminal pe aaraha hai but the code is not giving any output
@pathanaman005
@pathanaman005 4 года назад
When I run c program it's run perfectly but when I try to run c++ program it's showing me error " no input files compilation terminated ".... Plzz reply sir... 🙏
@adithyan9584
@adithyan9584 4 года назад
Hey @pathan have you included using namespace std; ?
@Deepak-ym9gp
@Deepak-ym9gp 4 года назад
use .cpp extension
@pritishpattnaik4674
@pritishpattnaik4674 4 года назад
Same problem bro
@AGREEaddh
@AGREEaddh Год назад
Don't know how to thank you for this video i was struggling to use VS code ❤.. Thank you and keep educating more people
@LearningLad
@LearningLad Год назад
You're welcome 😊
@tapankumar8081
@tapankumar8081 3 года назад
undefined reference to `WinMain@16' collect2.exe: error: ld returned 1 exit status Sir, I'm getting this error!
@ericwoillard5936
@ericwoillard5936 3 года назад
try to save your file before running it
@cipriancostache6121
@cipriancostache6121 3 года назад
@@ericwoillard5936 I had the same and it works now!
@s3rg1o.3x3
@s3rg1o.3x3 3 года назад
@@cipriancostache6121 thanks it works
@KhalidKhan-pm1ov
@KhalidKhan-pm1ov 2 года назад
Thank you so much for this 😊😊
@LearningLad
@LearningLad 2 года назад
Pleasure
@niccolosancisi1920
@niccolosancisi1920 2 года назад
After watching so many useless guides I finally found this video! Thank you so much it's all working and functioning now!
@LearningLad
@LearningLad 2 года назад
You're welcome!
@AceGriffin8839
@AceGriffin8839 4 года назад
You are a freaking legend brother. Thanks a lot for this video.💙
@LearningLad
@LearningLad 4 года назад
My pleasure 😊
@sanjeevchopra9737
@sanjeevchopra9737 4 года назад
undefined reference to `WinMain@16' error. problem solved you need to save file before running
@lyzen7
@lyzen7 2 года назад
you legend!!
@Gospelwave5728
@Gospelwave5728 Год назад
Thank you, man. You just saved a brother from over 6 hours of brainstorming with no result.
@LearningLad
@LearningLad Год назад
most welcome :)
@MaitreyPatankar
@MaitreyPatankar 4 года назад
I tried to run a program in VS code but an error is showing as ld returned 1 exit status and cannot open output file permission denied, how can i rectify the error?
@LearningLad
@LearningLad 4 года назад
try runnung vs code as administrator
@MaitreyPatankar
@MaitreyPatankar 4 года назад
@@LearningLad The problem is rectified as the antivirus was deleting the executable file.
@subikshas6695
@subikshas6695 4 года назад
Sir , I'm also facing the same issue. Could you please tell what can be done?
@svartanatten9795
@svartanatten9795 4 года назад
@@LearningLad Running it as administrator does not work. Still the permisson is denied
@johnkery6449
@johnkery6449 3 года назад
I have got error in output..it says < -gcc -no directory found > Even I add in Computer path In command prompt it says fatal error so it includes in computer but what problems during running code I don't understand plz help
@liyanth
@liyanth 3 года назад
even i stuck there
@farkhangarba
@farkhangarba Год назад
Thank you soo much bro. Ive been trying to code c in VS code but i couldnt and ended up using codeblock but i liked VS Code but now thanks to you, I can finally code C in VS code.
@LearningLad
@LearningLad Год назад
awesome keep learning :)
@arousingmusic7194
@arousingmusic7194 2 года назад
This really helps me lot. and the way you elaborate the thing in this simple manner is quite impressive . Thank you for this video man ❤❤❤❤❤❤
@LearningLad
@LearningLad 2 года назад
You're very welcome!
@cleytonsantos6162
@cleytonsantos6162 Год назад
Very good video. Simple and straight to the point. Thank you, man.
@LearningLad
@LearningLad Год назад
most welcome :)
@dankad5989
@dankad5989 2 года назад
bro thankuu because of you i was able to run c++ in vs code after trying for more than 2 days
@LearningLad
@LearningLad 2 года назад
Most welcome
@jahlijah
@jahlijah 3 года назад
Nobody: Python Ad: Python's where it's at... you can do almost anything with it... You know, you should take this Python cour- SKIP Me: Knows nothing about coding, but still proceeds the C++ tutorial lol
@meghnanakhate920
@meghnanakhate920 3 года назад
Me too 😂
@videofilles5302
@videofilles5302 4 года назад
hey i followed ur tutorial and when i compiled a simple code, avast blocked this: Win32:TrojanX-gen [Trj] which is apparently a very bad virus, is it possible in anyway that minGW was filled with bad things or something ? (also thanks for the very clear tutorial on this :) )
@LearningLad
@LearningLad 4 года назад
sorry for late reply. if u have installed Mingw from Official Source then no need to worry about malware
@HK-sw3vi
@HK-sw3vi 3 года назад
compare the download hash to see if the download is legit
@arnoygayen1984
@arnoygayen1984 2 года назад
A huge thanks to you. You just saved me from breaking my computer. subscribed
@LearningLad
@LearningLad 2 года назад
Welcome!
@ayushityagi7775
@ayushityagi7775 4 года назад
When I try to run the code, I'm getting an error saying Connection to server got closed. Server will not be restarted.
@nightyysleeps
@nightyysleeps 3 года назад
"Hello World" Say the guy that will make beautiful games one day
@samdavepollard
@samdavepollard 3 года назад
"Hello World, are you ready for awesome?"
@abdullahMinhas-gs6xx
@abdullahMinhas-gs6xx Год назад
Can we run code without MingW installed
Далее
How to set up C++ in Visual Studio Code
6:53
Просмотров 776 тыс.
Как он понял?
00:13
Просмотров 93 тыс.
Coding Was HARD Until I Learned These 5 Things...
8:34
God-Tier Developer Roadmap
16:42
Просмотров 7 млн
25 VS Code Productivity Tips and Speed Hacks
11:35
Просмотров 2,3 млн
Как он понял?
00:13
Просмотров 93 тыс.