I get an error about a missing WinMain() or main() function!

Description

I get an error about a missing WinMain() or main() function!
You need to write END_OF_MAIN() just after your main() function. Allegro uses this, along with some preprocessor magic, to turn a normal main() function into a Windows-style WinMain() entry point.