I'm new to programming and when I compile my build it produces an "Unix executable file", which won't run on my friends PC. I'm using "clang++" as my compiler, and Visual Studio Code as my IDE, but it isn't producing a file that will run on both platforms. Below is the entirety of my very simple code. Is there a way to configure the build so that it produces a Windows Executable?
#include<iostream>
using namespace std;
int lotteryPrint() {
cout <<"lotteryFinalresult";
return 0;}
int main()
{
int UserLotteryinput;
cout <<"Enter a lucky number ";
cin >> UserLotteryinput;
if (UserLotteryinput == 100)
{
cout <<"Win!";
} else {
cout <<"Loss...";
}
return 0;
}