Does anyone know of a good c++ library that can provide a line-based unified diff?
A:
How about the google-diff-match-patch library? Alternatively, you could just invoke the diff utility from your code, using popen, and then you could read the differencing output produced by the diff utility from the pipe.
Michael Aaron Safyan
2010-04-22 04:13:33
google-diff-match-patch is character-based.
tom
2010-04-22 04:24:16