how to use visual studio code for c++ code example
Example: how to run c program from visual studio terminal
Fire up the terminal from VS code
Use the command "gcc filename.c" to compile the program
Use the command ".\a.exe" to run the program from the terminal
P.S. Remove "" before exceuting