using GNU C: ..... FILE *fp; fp = fopen("./prg.c", "r"); char *line; int x=1; int nbytes = 100; while(getline( &line, &nbytes, fp ) != -1)
確定! 回上一頁