when i compile my program, it reads:
[linker error] undefined reference to WinMain@16
id returned 1 exit status
[Build error] [Project1.exe] Error 1
Printable View
when i compile my program, it reads:
[linker error] undefined reference to WinMain@16
id returned 1 exit status
[Build error] [Project1.exe] Error 1
What compiler? I remember getting that error once in the older version of Dev-C++ when I forgot to tell it to compile for Win32.
dev c++
Yeah, but what version? Most likely the newest one?
4.9.9.2
Did you download the Win32 DevPak?
i dont think so...how do i? like where do i download it
hello? r u there?
...what site is it on?
Open Dev, then go to Tools>>Check for Updates/Packages. Then when it brings up the big list choose Win32 API.
Do you have a main() function? A couple of times while writing header files, I've compiled just the header and it gave me a very similar error.