What is up with this formatting? : printf("%6d", blah); - or - printf("%6.2d", blah); also, weird, you don't need to include stdio for printf to work. Theres also a nifty puts, putchar, and getchar. Morgon -- Fetch my public key from http://www.surgo.net/pubkey.asc