Learning SDL in C [closed]

人盡茶涼 提交于 2019-12-03 08:19:52

问题


I know the basics of C and I'm looking into SDL. What I need at this point are some tutorials, documentation or perhaps a book about using the SDL libraries in C, especially about graphics.

The problem is that every online resource that I have found deals with C++, where I am looking for resources in C.

I have looked at gpwiki.org, which had an entire section on C but mingw won't compile it because some of the includes are C++ libraries (I only installed the C compiler). Other sources like sol.gfxile.net/gp/ say that they are a C tutorial, but "use C++ for its conveniently loosened variable placement rules.". Most of the tutorials on the SDL site itself are based in C++.

Does anyone know of a good learning resource in C for SDL programming?


回答1:


Have a look at this tutorial series at Parallel Realities. It covers SDL with C.



来源:https://stackoverflow.com/questions/6616601/learning-sdl-in-c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!