#include <iostream>
using namespace std;
int main()
{
int x = 50;
cout << 70;
return 0;
}
And the error is like this:
undefined reference to `WinMain' collect2.exe: error: ld returned 1 exit status
And my compiler is minWG
, and I'm sure that I've installed it correctly.