Games by definition need the quality of being interactive in order to be considered one. A video game...
Many modern interpreted programming languages like Python and Lua have a builti...
C++ is backward compatible with C so it inherited pointers. A quick recap if yo...
Being there are multiple different types of sockets available for our use, we w...
Patterns are constructs that programmers use to solve a general recurring probl...
This is the post that marks the beginning of this series. A journey, when arriv...
Today I am announcing a new series that is underway. The series will teach sock...
Just as I promised, we will write and subsequently read back a C structure! One...
For the last three posts, we have only handled text and nothing more. But now w...
My last article was about a topic that most beginners found challenging when fi...
One source of confusion among new C programmers is pointers. At first glance, t...
In the last section of the previous article, I promised that we would discuss s...
The last article in this series dealt with characters and using loops with fget...
If you've ever used a higher level language's file I/O capabilities like that o...
When rendering a scene or world not everything will be inside the boundaries of the window. Only a pa...
I've seen people code the way they do because they didn't know an important det...
Along with the new 2D hardware accelerated API in SDL2, we can draw primitive shapes like rectangles....
Sorry for not updating sooner. I was busy with several things including building my own PC, installin...
What do I mean by "headers" in structures? It's the same notation in other prog...
One of the first things you learn how to do in a programming language is how to...
Many modern-day languages like Python and Rust have their own standard package ...
Our game is almost done. We have our Ball on the screen and it moves. But, the motion of the ball is...
Maybe you've stumbled across a perplexing and scary looking line of code: (...
For this post, we'll get the ball on the screen. First thing I did was to create a ball class called,...
Consider this article a companion piece to my article on containers: https://de...
Continuing from where we left off, the Paddle class was created to handle several aspects of a paddle...
Unlike C++ which has a rich assortment of containers for basic and more demandi...
Where have I been? It makes me glad when people enjoy my articles and it makes me frustrat...
We're going to jump straight in and make a Pong clone in SDL2 and C++. I've already created three fil...
Psst! Do you want to know a way to get your SDL2 applications running faster? Sweet! Sounds awesome....