well i got it to work by adding a bit of code all i added was this
im not sure what it does cause i dont know c++ but it made the program work and compile

so this is the code you would have
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World" << endl;
return 0;
} and then run
those are what i called the file

good luck