learn the C with Learn C the Hard way, all exercise code