How can I make a C++ program for someone who doesn't have Visual Studio? I want to make a program for someone who doesn't have Visual Studio but I don't know how the program will work on that computer.

Is there a way the output can work without being used in Visual Studio?