aboutsummaryrefslogtreecommitdiff
path: root/brushes/xtra-star-1.gbr
blob: 47ab0d3de71e0a27f9f412dab41dd323bf6f512f (plain)
ofshex dumpascii
0000 00 00 00 29 00 00 00 02 00 00 00 05 00 00 00 05 00 00 00 01 47 49 4d 50 00 00 00 01 58 74 72 61 ...)................GIMP....Xtra
0020 3a 20 53 74 61 72 20 31 00 00 00 ff 00 00 00 00 ff 00 00 ff ff ff ff ff 00 00 ff 00 00 00 00 ff :.Star.1........................
0040 00 00 ..
ongest-line.c?id=032b64e37a23541e136dcf082a4564023579ed39&follow=1'>Re-solve Exercise 1-16: arbitrarily long maxlineIsa Hassen1-44/+60 A completely rewritten solution which follows the spec given in the book exactly; make the program work for arbitrarily long input lines while modifying `main()` only. I've only changed the name of the macro MAXLINE to BUFFSIZE for clarity - otherwise the code is typed up exactly as found in the book. It demonstrates the use of a buffer without modifying any of the helper functions.