Allegro Manual
Common mistakes
Ignoring this manual.
main() not returning int.
Semicolon at END_OF_MAIN.
Getting bitmap's size.
Creating bitmaps before loading.
Loading a bitmap/font/sound inside a global object constructor.
Calling set_color_depth without resetting graphic mode.
Destroying global objects like `screen'.
Ignoring this manual.
Description
Ignoring
this
manual.
Most problems are addressed in this manual. If you aren't sure about some parts of Allegro check particular section of manual. The FAQ section can also be very useful.