How To Run C & C++ File In VSCode Terminal / VS Code / Visual Studio Code on Windows 7 10 11

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] in this tutorial i'm going to show you how to run c and c plus plus code in visual studio code now keep in mind that to make c c plus plus work first you will need to install the open source mean gw development environment if you still need to do that go ahead and check out my previous tutorial where i explain exactly how to install it now go ahead and open your vs code editor and head over to the extensions tab type c c plus plus and install the first extension which is c c plus plus from microsoft now that we have it installed go ahead and type code runner that's the second extension that we need to install once you install this extension you'll notice in the upper right corner there's a play button and we're going to need that later now i'm going to go ahead and close all of these tabs and go into file menu i'm going to go into open folder and what i'm going to do i'm actually going to create a new folder on my c drive new folder and i'll name this folder c so i'm going to have c folder on my c drive you can call yours whatever you want so go ahead and click select folder button and that will open the folder in vs code so check this box and agree that you trust this file let's go ahead and create a new file and i'm going to save as test.c i'm going to paste some basic c plus code that will open message box in windows just to test our very basic windows application at this point all we have to do is click on the play button in the upper right corner and this windows code will execute just don't forget to save the file first and as you can see we have just created a message box in windows running c plus
Info
Channel: Ghost Together
Views: 8,635
Rating: undefined out of 5
Keywords:
Id: UucC0Q0fwrg
Channel Id: undefined
Length: 1min 58sec (118 seconds)
Published: Tue Apr 05 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.