PDA

View Full Version : Is ther any way to compare two text files



madhukiranmp
6th January 2011, 11:10
Hi,
Is there any way to compare two text files in Qt and get the difference or unique data in each file?

Thanks in advance

wysota
6th January 2011, 11:22
There is a number of algorithms for comparing data sets. Google for "diff+algorithm".

iswaryasenthilkumar
28th April 2015, 13:08
what about in Qt,,can we check in Qt??
There is a number of algorithms for comparing data sets. Google for "diff+algorithm".

wysota
28th April 2015, 13:08
What do you mean "in Qt"? An algorithm is an algorithm, it doesn't care what environment you implement it in.

iswaryasenthilkumar
28th April 2015, 13:19
Kdiff3 is possible to check file comparison in qt??
What do you mean "in Qt"? An algorithm is an algorithm, it doesn't care what environment you implement it in.

wysota
28th April 2015, 14:13
KDiff3 is an external program. If you want to use it to compare files then of course you can do that. If you mean something else then I don't know what it is.