Changed "\n" to '\n' and the K&R examples work fine now. Thanks all. Matt Dainty wrote: > > Checking my copy of K&R shows '' was used, not "", (I presume you were > basing the code on 1.5.3). > > Matt