tags:

views:

83

answers:

2

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
google-diff-match-patch is character-based.
tom
A: 

I would expect that the svn sources contain a good differ

Carsten Kuckuk