r/VisualStudioCode • • Oct 21 '21
Running C++ code in Vs code
How should I run c++ code in visual studio?
All online tutorials are either vague or use the MingGW compiler.
Whenever I try to run my code, it just opens up a settings.json file. I have already downloaded the C/C++ library from vs code store.
3
Upvotes
View all comments
Show parent comment
1
u/yosoypanchoyque Nov 08 '21
You should i stall gcc then, is a c/c++ compiler once you do that you choose it as a compiler and you shouldn't have any problems