Thursday 19 October 2017

c++ - undefined reference to `WinMain@16'

When I try to build a program using Eclipse
CDT
, I get the
following:





/mingw/lib/libmingw32.a(main.o):main.c:(.text+0x106):
undefined
reference to
`WinMain@16





Why
is that? And, how can I solve this issue?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...