3
I’m having trouble with Visual Studio 2017.
This comes up when I compile:
LNK2019 undefined external symbol _Winmain@16 referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ) Win32project2
That was the code I wrote, simple just to start and test if everything was ok.
#include<stdio.h>
int main()
{
int n = 0;
scanf_s("%d", &n);
return 0;
}
Where can I change that?
– Gabriel Romão
I use Ubuntu. I can’t see here, but I’ll look for an image for you.
– lemoce
I found a reference in the O.R. Is it possible to Convert a Win32 application project into a console application?
– lemoce
Faster and easier is to delete the project and create a new one, for now.
– lemoce