fprintf(file, "this is a test %d\n", integer); // write to file ... To read one line from a file (or the keyboard) at a time, use the fgets function.
確定! 回上一頁