#include <stdio.h> #include <stdlib.h> #include <string.h> void cut_string(char *s){ int i; for(i = 1;s[i - 1] != '\0';i++){//遍历字符串 if(i % 8 != 0) {printf("%c",s[i - 1]);} else if(i % 8 == 0){ printf("%c",s[i - 1]);//输出够8个,多输出一个换行符 printf("\n"); } } } ...