0

I put in a code piece to make sure everything is working fine and it isn't I can't seem to find the answer please help

code:

#include <Windows.h>

int WINAPI WinMain(HINSTANCE currentInstance, HINSTANCE previousInstance, PSTR cmdLine, INT cmdCount) {

    return 0;
}

The error:

Error   LNK2019 unresolved external symbol _main referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ)
Tin
  • 19
  • 2

0 Answers0