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); }
但是......输出总是重复最后一个字符,我不知道为什么......:/
任何想法?
我也想知道,终于找到答案了!
我无法更好地解释它,所以请查看链接