C Programming Blurb:
The book I will be working out of is The C Programming Language (Second Edition) by Brian W. Kernighan and Dennis M. Ritchie. I am starting in the beginning of the book (a novel idea right?) even though I already know the basics I figure it can't really hurt too much to brush up on some things. I am really liking how this book doesn't waste time and gets right to the point. I will be using my laptop running slackware to compile my code.
So far in the first chapter my favorite part is the ability to use %d as a placeholder for integer arguments when using the printf output function. So printf("%3d %6d\n", fahr, celsius); formats the variables with right-justified fields creating a lean and clean output statement. In that code snip-it it sets up the fahr variable to be three digits wide and the celsius variable to be six digits width.
Question of the Day:
I am thinking about buying a console for my room. My roommate has an XBOX360 in our basement so I am leaning towards a PS3, but I have always been an XBOX fanboy. So maybe I would want another one just in case he is using his. Any input would be much appreciated.