learningc/chapters/1/exercises/22.c

13 lines
220 B
C
Raw Normal View History

2019-10-21 17:14:22 +00:00
#include <stdio.h>
#include "shared/functions.h"
#include "shared/functions/fold.c"
int main() {
int len;
char line[MAXLINE];
while ((len = fold(line,MAXLINE, 30)) > 0) {
printf("%s", line);
}
return 0;
}