c++ line-based unified diff library [closed]
开发者_如何转开发
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this questionDoes anyone know of a good c++ library that can provide a line-based unified diff?
I would expect that the svn sources contain a good differ
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.
精彩评论