I'm pretty sure 99% of the functiosn used are just C functions in those turoaials, so you could try removing the .hpp includes and see what happens. Also, why are you trying to avoid C++ ? Just curious.