From fcbbe1a17fcb9fa129b737ddb8d72683ec9bfc3b Mon Sep 17 00:00:00 2001 From: zlg Date: Tue, 13 Aug 2013 04:37:02 -0500 Subject: Solve Exercise 5-1: fixed getint() --- README.mdown | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'README.mdown') diff --git a/README.mdown b/README.mdown index f5d961a..4b12335 100644 --- a/README.mdown +++ b/README.mdown @@ -1,16 +1,20 @@ 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 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*. +Language, 2nd Edition*. The 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 covered in the +book yet. According to [`comp.lang.c`][clc], this is known as *Category-0 +compliant*. As a result, many of my solutions will probably not be "the best", +but suitable for the goal at hand: *learning*. -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. +I chose this route because as I read through the K&R, I didn't feel like I +was learning anything new. C is known for its simplicity and efficiency, so +I thought, "If I'm not learning anything about efficiency and simplifying +my programs, then why am 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, and this +repository was born. -Critique is welcome, but please keep in mind the limitations I've outlined in -the first paragraph. Also note that some incomplete implementations are noted, -which I intend on revisiting. Any suggestions and advice are welcome. +Critique is welcome, but please keep in mind the limitations I've outlined in +the first paragraph. Some incomplete implementations are noted, which I intend +on revisiting or annotating. Any questions, suggestions, and advice are welcome. + +[clc]: http://clc-wiki.net/wiki/K%26R2_solutions:Ancillary:Category_numbers -- cgit v1.2.3-54-g00ecf