Compare two .doc file in c++ program
hi
I want to open two .doc [ms-word] files in cpp program using fstream.
and compare two files contents for every character or every line and display the out put both files are equal or not.
when i tried to open a .doc file and display the contents in cpp program it converted to the machine language and give the message is both files are not equal.
and i need this solution in php.
in php i tried it compare the .doc file properties like created date time and author name and display files are not equal, it does not compare the contents of the file. i need to compare only contents.
please give the solutions.
Thanks for advance
cheers
Megasms
|