80字より長い行を全て表示するプログラムは
#include <stdio.h>
#include <string.h>
int main(void)
{
char s[256];
while(gets(s) != NULL)
 if(strlen(s) >= 80)
  puts(s);
return 0;
}
でよいですか?