ensure gcc is installed # although you'll use vs code to edit your source code, you'll compile the source code on linux using the g compiler. you can install the c c extension by searching for 'c ' in the extensions view ( ctrl shift x ).
In this tutorial you will learn how to setup c c for visual studio code in ubuntu ( linux ) | compile and run c c program in vscode using gcc and g com. as we click on the add folder, it shows a popup dialog box to select the folder to store the program. go to the vs code and click on the add folder. we can create a folder with any name in any directory. here we created a c program folder to store all program code. Start coding in the visual studio code editor 1. How To Run C Program In Ubuntu Linux Terminal Gui Methods