aboutsummaryrefslogtreecommitdiff
path: root/.gitignore (follow)
AgeCommit message (Collapse)AuthorFilesLines
2013-02-21Solve Exercise 2-01: Variable limitszlg1-0/+1
Fixed gitignore list, too
2013-02-13Add license file, reorganize projectzlg1-0/+1
2012-08-11Initial commitzlg1-0/+6
e37a23541e136dcf082a4564023579ed39&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.