且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何比较两个txt文件,看看它们是否相同?

更新时间:2022-11-01 07:39:05

对于小文件,两者都可以作为字符串读入内存比较等式如:
For small files, both could be read into memory as strings and compared for equality as in:
展开 | 选择 | Wrap | 行号


我已将它们导入然后co它们!我该怎么做?
i have import them in and then comare them! How do i do that?


展开 | 选择 | Wrap | 行号