/title>
aboutsummaryrefslogtreecommitdiff
path: root/ch4/4-10_getline-calc.c (unfollow)
span class='insertions'>+834
AgeCommit message (Collapse)AuthorFilesLines
Remove unneeded function declaration in 7-06zlg1-1/+0
* 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.