Tag Archives: getline()

C character arrays (K&R exercice 1-17)

Back on the K&R book, still working through the ‘Tutorial Introduction’ and in the character array section. Here is my solution to Exercise 1-17: print out all lines with 80 or more characters. #include <stdio.h> #define MAXLINE 1000 // This … Continue reading

Posted in C | Tagged , , , , | Leave a comment