aboutsummaryrefslogtreecommitdiff
path: root/ch8
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2013-09-26 07:17:51 -0500
committerzlg <zlg@zlg.space>2013-09-26 07:17:51 -0500
commit22ddf92e89b19c30ff77b368cab60cc95315db35 (patch)
tree5085347805262c7e35b8ce5393fd8b4787f7285a /ch8
parentClean up 5-10's printf() calls (diff)
downloadknr-22ddf92e89b19c30ff77b368cab60cc95315db35.tar.gz
knr-22ddf92e89b19c30ff77b368cab60cc95315db35.tar.bz2
knr-22ddf92e89b19c30ff77b368cab60cc95315db35.tar.xz
knr-22ddf92e89b19c30ff77b368cab60cc95315db35.zip
Solve Exercise 5-11: `entab` and `detab` remixed!
This one was pretty rough. At first I wanted to include a bunch of error-catching and "smart" stuff. When I took a second look at it and realized `itoa` returns 0 on a string, things became a bit easier. I may have been able to outsource a few things to a function or two, but overall I think it worked out.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
>zlg12-0/+307 It was bugging me and the exercises are simple, so I pumped'em out. 2013-02-06Fix style issue and correct 1-24zlg1-4/+4 Escape sequences were being compared with the 'or' operator instead of the 'and' operator. If I had left it alone, every escape sequence would've borked it. 2013-02-06Solve Exercise 1-24: C syntax checkerzlg1-110/+122 I'm glad to be done with chapter 1. It feels like I'm starting to gain momentum. I'm certainly looking forward to using higher level constructs like switch(), which I think is available in Chapter 2. So far so good!