aboutsummaryrefslogtreecommitdiff
path: root/1-21_entab.c
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2013-10-18 02:14:57 -0500
committerzlg <zlg@zlg.space>2013-10-18 02:14:57 -0500
commiteb44b112e7ac2ffbd7d48d47f26c5e210fed677c (patch)
tree66158493b20890f37505af885ecbb4981521632f /1-21_entab.c
parentSolve Exercise 5-12: flexible `detab` and `entab` (diff)
downloadknr-eb44b112e7ac2ffbd7d48d47f26c5e210fed677c.tar.gz
knr-eb44b112e7ac2ffbd7d48d47f26c5e210fed677c.tar.bz2
knr-eb44b112e7ac2ffbd7d48d47f26c5e210fed677c.tar.xz
knr-eb44b112e7ac2ffbd7d48d47f26c5e210fed677c.zip
Solve Exercise 5-13: tail
This exercise was somewhat irritating until I caved and used the code in section 5.6 like the exercise suggested. The solution is not what I think is clean, but given that [mc]*alloc haven't been covered yet, it's probably the best one can muster. Once I used the code in ยง5.6, the program fell into place. Still, it was a neat exercise.
Diffstat (limited to '1-21_entab.c')
0 files changed, 0 insertions, 0 deletions