aboutsummaryrefslogtreecommitdiff
path: root/ch5/5-04_strend.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2013-09-02Solve Exercise 5-4: strend()zlg1-0/+37
Detailed answers below the question will only occur now if I cannot explain myself well enough in code and nearby comments. I'm looking to learn how to write better comments so there's less need for prose.
>zlg6-26/+834 * Improve README tone * Add `astylerc` for use with the astyle package * Add AUTHORS file to acknowledge contributors 2015-12-19Re-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.