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 --- 1-20_detab.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '1-20_detab.c') diff --git a/1-20_detab.c b/1-20_detab.c index e1549e6..dc8f5b5 100644 --- a/1-20_detab.c +++ b/1-20_detab.c @@ -11,9 +11,8 @@ * worked with and it's not susceptible to scope. Though, in this simple * program it really doesn't matter. * - * To be correct, this file should use the isprint() function to ensure that - * 'column' only gets incremented when a printable character is being read. I'll - * come back to this when I learn more of the stdlib. + * The "correct" solution uses the isprint() stdlib function, but it's not + * covered by this point in the book, so I did not use it. */ #define TABWIDTH 8 -- cgit v1.2.3-54-g00ecf