diff options
author | zlg <zlg@zlg.space> | 2016-06-16 09:51:16 -0700 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2016-06-16 09:51:16 -0700 |
commit | 82656bf5aa4edd668e1adc3faa8148251509b912 (patch) | |
tree | b0ba0ff73b90c875298077fc2dda5098c9ed87cd /ch8/8-05_fsize-extended.c | |
parent | 1-16 solution code and comment style cleanup (diff) | |
download | knr-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 'ch8/8-05_fsize-extended.c')
0 files changed, 0 insertions, 0 deletions