From b6b22b5c5acbe317d7ad992b58169b0678e64a9a Mon Sep 17 00:00:00 2001 From: zlg Date: Thu, 29 Nov 2012 14:44:25 -0600 Subject: Clean up 1-13 and 1-20, correct 1-21 1-13 uses less variables and a for loop for the chart header 1-20 has minor changes 1-21 was rewritten to behave properly README has been rewritten to reflect the limitations of my solutions --- README.mdown | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'README.mdown') diff --git a/README.mdown b/README.mdown index 7af39e0..1fafb61 100644 --- a/README.mdown +++ b/README.mdown @@ -1,9 +1,15 @@ -As I was reading Kernighan and Ritchie's *The C Programming Language*, I felt -like I was learning the syntax and other superficial things, but not learning -the more practical lessons that I was sure I'd run into once I tried to make -something. So I chose to do the exercises. I didn't start until the middle of -Chapter 1, but better late than never! +These files are my solutions to Kernighan and Ritchie's *The C Programming +Language, 2nd Edition*. My aim is to deepen my understanding of C, using only +the concepts covered in content that comes before each exercise. That means no +"cheating" by using standard library features that aren't been covered in the +book yet. As a result, many of my solutions will probably not be "the best", but +suitable for the goal at hand: *learning*. -If you have suggestions or pointers, message me! I really want to learn C "the -right way". It's a fascinating, spartan, pretty language, and I want to become -good with it. +I chose this route because as I was reading the K&R, I didn't feel like I was +learning anything new, but I knew C was known for its simplicity and efficiency. +If I wasn't learning anything about efficiency and simplifying my programs, then +why was I learning C? I tackled a few exercises and found that I was beginning +to learn a few things I hadn't ran into before. + +Critique is welcome, but please keep in mind the limitations I've outlined in +the first paragraph. -- cgit v1.2.3-54-g00ecf