After saying something allegro, now we have to know where to get him. There is no doubt that of course his hometown http://www.talula.demon.co.uk/allegro/ is of course, as Kaixuan, http: //alleg.sourceforge.net/ Here is not his. There are German, Spanish, Italian, Korean, etc., but unfortunately there is no Chinese, maybe my country's master is not interested in this, but I don't know, but I used to have written a 3. X 's help file, now there is no update, I am looking forward to the work of which master can continue to complete this big workload (as if I have a problem, I hope everyone can understand) the latest version of Allegro 4.1. 18 WIP, huh, everyone can download the page to the page, and help files, etc. Needless to see my nonsense, here is just my small rookie, write to my own entertainment.
Now I know what is Allegro, I know how to download it, I don't have to use me nonsense, everyone maybe more than I am too much, I have already installed it, but I have to have a complete process, I still have to talk about it, because I use DEV-C , so I can download a devak directly to http://sourceforge.net/projects/devpaks/ or http://devpaks.org/, directly installation can be used, and there are many places. Something, look at it!嘿嘿. There will be an example and instructions in an Allegro directory after installation. If you want to get the original code, you have to compile it yourself, but he has written Makefile, you will get it according to your own system make, huh, I don't say it, who told me to use DEV-C It is too simple to convenient. If you can't ask those heroes, if you don't discard it, I may also help. I will also write the installation of specific versions of the specific versions, benefiting the big rookie like myself.
Hey, install it, can't wait to try, the test program in the original Allegro manual is tested.
The new written C program compiles DEV-C. Of course, I wrote a new key project. It is not used here, and the little is still working, killing chicken with a cow knife. #include
INT main () {allegro_init (); allegro_message ("Hello World!"); Return 0;} END_OF_MAIN () // must
The program is written, ready to act, there is something to do before the fire, DEV-C's Linker option plus -Lalleg (or Debug mode plus -LallD), ready, fire in the hole! Go Go GO! Compile, run. Wow, haha, playing out a Hello World, congratulations, have determined that the installation is successful, and you can officially enter the world of Allegro! This is cool.