#include "stdio.h"#include "string.h" char s[100][200];int main(void){ FILE *fp; fp=fopen("文件路径,\用\\代替","r"); int i=0,j; while(fgets(s[i],200,fp)) { i++; } for(j=0;j puts(s[j]); return 0; }