aboutsummaryrefslogtreecommitdiff
path: root/1-07_eof-value.c
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2016-06-16 09:51:16 -0700
committerzlg <zlg@zlg.space>2016-06-16 09:51:16 -0700
commit82656bf5aa4edd668e1adc3faa8148251509b912 (patch)
treeb0ba0ff73b90c875298077fc2dda5098c9ed87cd /1-07_eof-value.c
parent1-16 solution code and comment style cleanup (diff)
downloadknr-82656bf5aa4edd668e1adc3faa8148251509b912.tar.gz
knr-82656bf5aa4edd668e1adc3faa8148251509b912.tar.bz2
knr-82656bf5aa4edd668e1adc3faa8148251509b912.tar.xz
knr-82656bf5aa4edd668e1adc3faa8148251509b912.zip
Solve Exercise 7-2: Format arbitrary input
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.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions