Read here.
Code - functions and small libraries I use It’s 2014 and I still use printf() for debugging. "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson