aboutsummaryrefslogtreecommitdiff
path: root/ch3/3-06_itoa3.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2013-04-23Solve Exercise 3-6: itoa (3 arg version)zlg1-0/+67
most challenging "function puzzle" thus far. Modifying getword(), using various states, and the hashtable all create an example of how small building blocks can work together to make something. The implementation is very simple and nowhere near completely supporting '#define', but that's not the point. To properly support it, you'd need to build an entire preprocessor/parser, and that's far beyond the scope of both the exercise and book.