There are several problems with this code: if program.txt doesn't exist, fopen() will return NULL; fscanf(%[...]) or fscanf(%s) expects a pointer to char, ...
確定! 回上一頁