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 .
@@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!
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!
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.
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.
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.
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.
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
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.
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!
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!
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.
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.
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 :'-)
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
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.
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 .
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
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.
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 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
@@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.
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
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"
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
@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.
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.
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.
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?
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 .😭😭
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.
@ 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.
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
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... 🙏
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?
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
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.
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
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 :) )