Samples from learn C the hard way