Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how do I make my CPP file an execuitable file that will run in Windows

+10 votes
asked Feb 10 by Tim Messer (220 points)

1 Answer

+2 votes
answered Feb 15 by Peter Minarik (101,420 points)

After you have the source, you need to compile and link it.

You can do it via a developer environment, such as Visual Studio or Visual Studio Code (for lightweight). You can download them here.

If you fancy, you should be able to do it via the command line too, read how here.

Good luck!

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...