开发者

Learning SDL in C [closed]

开发者 https://www.devze.com 2023-03-18 15:34 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 question

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++ 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消