Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99093

How to compile a single standalone C++ program in Visual Studio Code

$
0
0

I want to compile single standalone C++ programs in Visual Studio Code. Currently, when I compile a program in VS Code, it only outputs a single executable file. If I have one program helloworld.cpp, it will only compile and create a helloworld.exe in the folder.

If I want to create another program, for example, Test1.cpp the executable should be named Test1.exe in the same folder and so on.

enter image description here


Viewing all articles
Browse latest Browse all 99093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>