How to configure VS Code for C programming || Configure Visual Studio Code for C programming || Limitless Playing

 Hey Guys This is Limitless Playing.

Hello, everyone! Today in this blog I am going to show you the easiest way of configuring VS Code and also try to fix the error that comes while starting the C programming on your PC. So, without wasting more time let's go to our topic directly.

Installation Steps and Solutions

I have given the point-wise step with images for the installation of VS Code.  I have also given the solutions to some problems in VS Code for new users. And if you need a video tutorial then click the youtube link given below.

NOTE: If the process works then do not forget to like our Youtube video and subscribe to our channel too. The video is given below.

  • Most importantly, to run the program in VS Code you need to have MingW installed and configured path in an environment variable of your PC. If you don't know how then leave a comment below I will upload one more blog on this topic.
  • The download button given below will redirect you to the official website of VS Code. If you have installed VS Code already then skip this step. I recommend you to download it from the official website only.


  • After clicking the download button you will be directed to the official website and download VS Code according to your Operating System. Mine is Windows so I will show you the steps according to windows. The same applies to Mac too.

  • The steps are pretty easier so anyone can install it. If you are confused then just click next after every time it asks.
  • Don't forget to tick the "Create desktop icon" for your easiness.
  • Now launch the VS code.
  • From the left corner click on the Extensions options or simply click " Ctrl+Shift+X " at the same time.
  • Search for " C/C++ ".
  • Install extensions of C.
  • Again search for "Code runner and install it too.
  • Now you are set to go.
  • Create a new folder with any name in any drive and open VS Code.
  • Go to the " File " option and click on the " Add folder to workspace " and select the folder you created. This will help you to save or manage your projects and also gives quick access to your saved projects. You can create multiple workspaces according to your requirement.
  • Press " Ctrl+N " and select language ' C ' and start programming.
  • Press " Ctrl+Alt+N " to run the program and if you are unable to run the program in the terminal then go to " File >> Preferences >> Settings " or simply press "  Ctrl + , " and search " Code runner terminal " and then click in the empty box.  After that, you can run your program in the terminal. For detailed instruction click the above-highlighted sentence.
  • You have done everything and still, if you are getting errors like " No such file directory found " or " include path error " then click the button given below according to your problem.
--------------------------------------
I hope now you are using VS Code without any problem. If you have any problem and need any help on this topic then, inbox us on our social media.
--------------------------------------
Thank you for coming here and reading our blog.
If this works then please Leave a comment.
Please visit our youtube channel also.
Post a Comment (0)
Previous Post Next Post

Advertisement