Recently in the C language of the graphic library, found that there are mainly the following options:
- The graphics library for Turbo C
- Sdl
- Easyx
- EGE
1. It is generally believed that the graphics library is too old, and Turboc itself use more trouble, online one-sided is not recommended. But in fact Turbo C also out for the version of Win 7/8/10, try to download the installation, found that need some of Microsoft's DLL, so it did not continue. Interested friends can try:https://turboc.codeplex.com/
2. SDL is a big guy, it seems to be a lot of powerful, the following provides several connections for interested friends to delve into:
Introduction to the SDL Library: http://www.bkjia.com/Cyy/617179.html
SDL Chinese course (old version):http://adolfans.github.io/sdltutorialcn/blog/2013/01/25/sdl-2-dot-0-tutorial-index/
How to use sdl:http://blog.csdn.net/anobodykey/article/details/34126291 on Codeblocks
3. Easyx looks great, concise, easy to understand, and has forum support. However, the EASYX library only supports Microsoft-series compilers (that is, Visual C + + or visual Studio)
4. Ege features and Easyx are very similar, are suitable for beginners, relatively concise graphics library. And can be used in Codeblocks compilation, in line with my needs, so I would like to introduce a bit more.
Ege Website Address: http://xege.org/
It should be noted that the downloaded files do not use WinRAR decompression, but to use the 7z format of the decompression software (I use 7-zip).
The second important note is that to use the Ege Library, the file name must be. cpp
For information on using the Ege library on Codeblocks, refer to: http://jingyan.baidu.com/article/4b07be3c40d35f48b380f3c7.html
Ege also offers a good introductory tutorial: Http://xege.org/category/lesson
C Language Graphics library simple comparison and installation of Ege Library Small Manual