Click to See Complete Forum and Search --> : compare by content total commander algotithm
marius_tabac
May 31st, 2004, 04:04 AM
i need the "Compare by content" algorithm from Total Commander. I tryed to find out myself but no can do. Please if someoane know the algorithm or can decipher it please post a reply with the algotithm. ( i need the logic how it works) and mybe an implementation in java.
thanks.
yiannakop
June 2nd, 2004, 09:46 AM
I don't know Total Commander... Do u want sth like a text comparisson module?
Yves M
June 2nd, 2004, 09:55 AM
It sounds like a diff to me. There are several possible ways to implement this, but it's not trivial in any case. Check for example this article (http://www.codeproject.com/tools/difftool.asp).
marius_tabac
June 2nd, 2004, 10:27 AM
http://www.totalcommander.com to see the compare by content. but is the same as "Compare It!" and diff i think. I had came up with an algorithm but now i have to implement to see if it works this algorithm is only for strings ( like text lines in a file). but if i can do this the rest (for the file) is simple i gues.
If u came up with an algorithm too post it here. my algorithm is to complicated to explain but if i make the souce in java i will post it.
have a nice day.
codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved.