|
From: Charles C. <can...@ho...> - 2002-10-25 00:33:25
|
After linking, i get an error like
C:\DEV-C++\LIB\\libmingw32.a(main.o)(.text+0x8e): undefine...
`WinMain@16'
probably haven't declared any main() or WinMain() func...
program.
I am still have problems the main() have been declard
This is the small program i was using just make sure everting was working
right. My first time to use allegro with Dev-c++.
#include "allegro.h"
int main()
{
allegro_init();
allegro_message("hello world!");
return 0;
}
END_OF_MAIN();
Can you help!
_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband.
http://resourcecenter.msn.com/access/plans/freeactivation.asp
|