From learning C the hard way