From: Abhijit S. <mu...@gm...> - 2002-10-25 12:11:46
|
Greets, Charles. > 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! Try #include'ing <winalleg.h> right after <allegro.h>. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |