I strongly suggest SDL to any beginner C++ programmer
April 16, 2009
If you are a beginning C++ programmer, I strongly suggest that you get into SDL as a start. Actually, after you’ve gotten through the C++ basics should you attempt to use SDL and if you haven’t gotten though the basics, then buy yourself C++ for Dummies. SDL is called Simple DirectMedia Layer and can be used for things like graphics, audio, font rendering, and etc. There are no bounds on what SDL can do. Take a look at the libraries that can be used with SDL. It can be used for many things, not just games. Most SDL tutorials though, if not all, are for game programming, but if you are good enough (I believe in you), you can make SDL work with OpenGL, wxWidgets, and etc.
If you need tutorials, then I suggest(this list will grow over time, if needed):
- Lazy Foo’ Productions (I strongly suggest this one for aspiring game programmers)
- SDL at GPWiki (Detailed, but ideally for game programmers)
- DevHub (Starts with object oriented programming)
- Cone3D SDL Tutorials (Get and go tutorials)
- Sol::Tutorials (Making a game)
What I suggest is that you actually try to write about what you have learned along with “monkey see, monkey do.” Don’t copy and paste though. Some parts of the tutorials are mundane, so if you get bored do something else. Stick to one set of tutorials, don’t go from one to the other, manage your time, and read articles on graphics (not limited to this subject).
I prefer LazyFoo because it was that first one I actually followed. Believe or not, I do not follow tutorials for very long and tend to stray to other tutorials or not do anything at all, but LazyFoo is the first and not the last tutorial I will follow through.
May 12, 2009 at 6:03 am
I agree, SDL is a very light-weight, easy to learn library. Also along with the Lazy Foo’s tutorials you get started really quick.
May 23, 2009 at 9:36 am
Agreed.