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
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
compiler:dev-C++
asr
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.
Trinity: "Neo... nobody has ever done this before."
Neo: "That's why it's going to work."
c9915ec6c1f3b876ddf38514adbb94f0
dev c++
compiler:dev-C++
asr
Yeah, but what version? Most likely the newest one?
Trinity: "Neo... nobody has ever done this before."
Neo: "That's why it's going to work."
c9915ec6c1f3b876ddf38514adbb94f0
4.9.9.2
compiler:dev-C++
asr
Did you download the Win32 DevPak?
Trinity: "Neo... nobody has ever done this before."
Neo: "That's why it's going to work."
c9915ec6c1f3b876ddf38514adbb94f0
i dont think so...how do i? like where do i download it
compiler:dev-C++
asr
hello? r u there?
...what site is it on?
compiler:dev-C++
asr
Open Dev, then go to Tools>>Check for Updates/Packages. Then when it brings up the big list choose Win32 API.
Trinity: "Neo... nobody has ever done this before."
Neo: "That's why it's going to work."
c9915ec6c1f3b876ddf38514adbb94f0
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.
There is a difference between tedious and difficult.