aboutsummaryrefslogtreecommitdiff
path: root/ch1 (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-06-16The massive astyle sweep!zlg17-80/+14
Code style should be consistent now. All future commits will be run through astyle or they will be amended.
2015-12-191-16 solution code and comment style cleanupzlg1-48/+44
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-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.
2014-08-03Ensure 1-02's solution compileszlg1-1/+4
I'm preparing for build automation, so everything needs to build
2013-07-23Correct Exercise 1-22's solutionzlg1-51/+64
Tabs are now handled properly and the instructions are better followed.
2013-04-23Add exercise descriptions and answers for ch1zlg13-51/+158
* Corrected behavior in solutions for 1-9 and 1-23
2013-02-13Add license file, reorganize projectzlg24-0/+1074