| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 4 | |
I'm looking for a fast way to know whether the contents of two files are identical or not. I want to start reading two file streams, comparing them as I go, then stop as soon as they differ. I don't think QDataStream is right for this; should I be looping QFile.read()? Is there an optimal size to read in each loop? Michael