Shark, when you sway the diff should be based "on each line", do you mean a horizontal "line" (row), or a vertical line of data (column)?
The red highlight I'm seeing on that link's web page, seems to indicate that each cell in the array, must be checked, since there are differences in each column of the array's, and it seems there could be differences found in any row, as well. I do not (so far), see any way to optimize this comparison of two array's. By "paint" do you mean highlight the text differences in red, like the example? Are you using Linux or Windows, and what type of Windows(Me, 2000, XP, or Vista)? I'm not a CS grad, just a hobby programmer, Shark. Are you saying that there is a better algorithm than just brute force checking in this problem? If you want to know exactly what the changes are, for instance, a row was removed, then you'll have to add that logic to your matrix checking code (or perhaps in a sub function that it calls as needed). It's far easier to just highlight any changes. On Jul 13, 6:16 am, Shark <[EMAIL PROTECTED]> wrote: > Sorry! > Forgot something, the diff should be based on each line > For example the first line is "black" is missing > And on the brown line (last one) Michelangelo is different then the > one on the second table > Thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---
