/ch3/

'hidden' name='id' value='82656bf5aa4edd668e1adc3faa8148251509b912'/> Category-0 solutions to The C Programming Language, 2nd Editionzlg
aboutsummaryrefslogtreecommitdiff
path: root/README.mdown (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2015-12-191-16 solution code and comment style cleanupzlg2-48/+51
Also of note is the length that the program reports includes the newline character at the end. This has been clarified in a comment. The exercise text does not specify whether to include newlines as part of the length, so it was left alone. Removed the contributor notice, since contributor acknowledgements are centralized.
2015-12-19Change license to GPLv3, add contributing guidezlg6-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.