One, you don't check either the fopen() nor the fscanf() for success. Either might fail. ... Try adding rewind( output ) between the two loops.
確定! 回上一頁