Advertisement
Guest User

Untitled

a guest
Jun 17th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. #define _GNU_SOURCE
  2. #include <stdio.h>
  3. #define MAXLINE 1000
  4.     int getline(char line[], int maxline);
  5.         main()
  6.             {
  7.  
  8.                 int len;
  9.                 char line[MAXLINE];
  10.                 while (len=(getline(line, MAXLINE))>0)
  11.                
  12.                         if(len>80)
  13.                             printf("%s", line);
  14.                         return 0;      
  15.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement