aboutsummaryrefslogtreecommitdiff
path: root/ch7 (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-06-16The massive astyle sweep!zlg1-2/+2
Code style should be consistent now. All future commits will be run through astyle or they will be amended.
2016-06-16Solve Exercise 7-2: Format arbitrary inputzlg1-0/+101
The solution is technically not 100% correct, but good luck figuring out a robust solution inside Category-0 restrictions. Unicode characters like ¬ or ♥ show up as 64-bit hex codes and I couldn't find a way to shorten them. Then again, UTF-8 supports characters up to 8 bytes long. Use it with plain ASCII and it looks only minorly off.
2015-12-08Solve Exercise 7-1: `upper` and `lower`zlg1-0/+52
Two cases, one file. This exercise was a welcome departure from the recent head-scratchers. It made me think about a solution for the pathname issue I realized would crop up, too. I'm roughly 75% done with the book! Maybe by the time I finish it, I'll have a Makefile ready for the project...