Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _GNU_SOURCE
- #include <stdio.h>
- #define MAXLINE 1000
- int getline(char line[], int maxline);
- main()
- {
- int len;
- char line[MAXLINE];
- while (len=(getline(line, MAXLINE))>0)
- if(len>80)
- printf("%s", line);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement