aboutsummaryrefslogtreecommitdiff
path: root/ch7/7-02_arb-input.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
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.
contact infozlg1-1/+1 2017-05-20perfeeerrrrrmzlg1-1/+1 2017-05-208-1: Correct superfluous increment, commentzlg1-2/+1