Learning SDL in C

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?


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

链接地址: http://www.djcxy.com/p/33850.html

上一篇: 从ServletInputStream获取wav文件

下一篇: 在C中学习SDL