Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
皆さん、
テキストファイルを読み込もうとしています:
while(!feof(fp)){ fscanf(fp, "%c", &c); printf("%c", c); }
しかし...出力は常に最後の文字を複製します。理由はわかりません... :/
何か案が?
私も疑問に思っていたのですが、ついに答えが見つかりました!
うまく説明できなかったので、リンクをチェックしてください