Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionI 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++ libra开发者_运维知识库ries (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.
精彩评论