[your-first-windows-program] : https://learn.microsoft.com/en-us/windows/win32/learnwin32/your-first-windows-programI'
On this page I was trying to learn how to use the Win32 API but I ran into a problem. When I compiled the complete code segment for a blank and basic window it does not build. Im using Visual Studio 2019 and on the Error List this is what it has to say:
LNK2019 unresolved external symbol _main referenced in function "int __cdecl invoke _main(void)" (?invoke_main@@YAHXZ)
I looked up the LNK2019 but I still cant find out what might be the issue. m very inexperienced with linker problems and with Win32 API. I know a bit about c++ but this is new territory for me. Some help would be greatly appreciated.; I don't know anything about the tags so it may be wrong