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.
我正在尝试在 C 中创建一个定序器来处理带有字符'a''b''%'等的文本文件,然后按顺序显示它们,一次一个,所以我想以某种方式缓冲它们,但是我对这个话题不是很熟悉。但我的想法是
a)将它们存储在一个数组中(限制每个文件中字符的维度)
b) 即时阅读它们。
但我不确定如何以最快的输出实现这一点。有没有人处理过大量的文本文件,并且他们不得不像这样以大块的形式输出它们?