Jump to ratings and reviews
Rate this book

C Easily with SDL2

Rate this book
Object Oriented Programming simplifies the task of programming real
world problems by breaking the problem into thinkable chunks called objects, and
letting each object handle its sphere of the problem in concert with other objects.
While C is not designed as a OOP language, a simple protocol can be used to
program class like objects in C. This little book demonstrates how C can be organized
in a OOP manner.

The demonstration is not just a recipe however. In explaining the protocol, structs,
pointers and handling memory are explained in a way that, I hope, removes the scary
monsters that seem to lurk in the shadow lands of C. SDL2 and openGL are used to
provide an example of how external libraries can be set up alongside mingw, and to provide
a moderately complex program that draws text upon a screen aligned quad while
illustrating how C can be coded object orientedly.

97 pages, Kindle Edition

First published April 21, 2014

2 people are currently reading

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
1 (100%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.