diff options
author | zlg <zlg@zlg.space> | 2013-09-26 07:17:51 -0500 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2013-09-26 07:17:51 -0500 |
commit | 22ddf92e89b19c30ff77b368cab60cc95315db35 (patch) | |
tree | 5085347805262c7e35b8ce5393fd8b4787f7285a /1-01_hello-world.c | |
parent | Clean up 5-10's printf() calls (diff) | |
download | knr-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 '1-01_hello-world.c')
0 files changed, 0 insertions, 0 deletions