If you can run your game already (e.g. in VSC), you must have produced an .exe from the .cpp files. That .exe can be ran directly, or a shortcut can point to it. And since you already have an .exe, you must have invoked
gcc
with the correct settings before to create it (maybe it was somehow automated for you).