In fact I spent all my spare time for over a week trying to get these examples working with code::blockspaul doe wrote:The only thing that remains, then, is that he puts a little effort in learning how to make all of this work, don't you think?
http://www.grhmedia.com/tutorials_SDL2.html
The author George Hayes kindly exchanged emails with me until I had success. Now I have to study all the SDL2 code until it is second nature to me.
I was unable to follow his videos because the explanations came too fast and the pointer was all over the place. Videos are not how I would teach a subject. Apparently you get paid when people watch the video but not when they download a text tutorial. Also knowing a subject doesn't make you good at teaching a subject to beginners particularly when assumptions are made as to what they should already know. I see experienced programmers talking to a novice in the same terse cryptic jargon rich language they might use to explain something to their peer group.
Yes it is true I put as little work into how all this works as I need to but that is because I have limited time to learn it all and I just want to get on with actually writing code. That is the reason I used FreeBASIC. SCREENRES is very simple compared with the complex setup code I had to learn when using a window's API tutorials.
http://www.winprog.org/tutorial/start.html
I put a lot of effort into window api programming including using assembler code but it soon became clear the tutorials were not really showing how to find what you needed from the API documentation so if the tutorial didn't cover it you couldn't do it.
I need to get up to speed with SDL2 as I intend to use it in a project I am working on. It involves FreeBASIC and C++ thus my interest in using both with the SDL2 library.