Saturday, December 13, 2008

Week 1, in review

So, I wrapped up one week of the book... a third of the way there. I treated myself to a couple of days of light duty. The book had a few pages of review and I covered those. Basically, it was a single program that did stuff with rectangles. It could draw them out in ASCII-test, calculate area or perimeter, allows you to change the height and width, and of course quit the program.
Nothing too difficult. Although there was an error in the code in the book that took me a bit to figure out. I still don't know why it was in there... I knew it didn't belong there and so I removed it and the program worked like a champ. Had a few typos here or there, but the compiler helped me hunt those little guys down.
Now I can make a very simple, text-only program that runs in the terminal in linux. I could write a program for an early 90's library computer now! Score! [/sarcasm]

No comments: