+ 5

How can I start learning SDL?

I have read that SDL is used for graphics. I am just a beginner. Please tell me, how can I start learning it? What all should I know before starting SDL?

11th Aug 2017, 3:08 AM
Harsh Kumar
Harsh Kumar - avatar
10 Answers
+ 4
Conclusion: I should have a decent knowledge about C++ before attempting to learn any of the graphic libraries (eg SDL). I should have good grip on C++ basics, specially Pointers and Templates. @baptiste-e-prunier suggested me to learn SDL 2. @jay suggested me the website lazyfoo.net to learn SDL 2. Thank you all! 😊
11th Aug 2017, 4:58 AM
Harsh Kumar
Harsh Kumar - avatar
+ 7
lazyfoo.net 190% agree with Baptiste re: SDL2
11th Aug 2017, 3:41 AM
jay
jay - avatar
+ 6
I would say pointers and templates are two of the things you will want to understand fairly well.
11th Aug 2017, 3:48 AM
jay
jay - avatar
+ 5
you will want to have a decent understanding of c++ before you attempt to learn sdl or any other graphics library.
11th Aug 2017, 3:26 AM
jay
jay - avatar
+ 5
I do not know of any tutorial but I would advise you to learn SDL2 instead of SDL1.2
11th Aug 2017, 3:37 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 5
noo sdl2.. sdl1 is old
11th Aug 2017, 4:59 AM
jay
jay - avatar
+ 4
Thanks Jay, anyway, what all things should I know before proceeding to learn SDL?
11th Aug 2017, 3:42 AM
Harsh Kumar
Harsh Kumar - avatar
+ 3
Thanks!
11th Aug 2017, 3:53 AM
Harsh Kumar
Harsh Kumar - avatar
+ 3
me too,i'm learning on lazyfoo.net😀
20th Apr 2018, 7:12 PM
caida dodosy
caida dodosy - avatar
+ 2
Thanks Jay! Can I know name of some books or websites where I can learn SDL? I would ve very thankful to you.
11th Aug 2017, 3:29 AM
Harsh Kumar
Harsh Kumar - avatar