aboutsummaryrefslogtreecommitdiff
path: root/ch5/5-11_detab-remixed.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2013-09-26Solve Exercise 5-11: `entab` and `detab` remixed!zlg1-0/+61
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.