Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cinttypes>
- #include <fstream>
- #include <jaguarleap/languagefile.h>
- using namespace std;
- int main()
- {
- LanguageFile file("ENGLISH.DAT");
- file.save("ENGLISH2.DAT");
- ifstream a("ENGLISH.DAT",ios::in|ios::binary),b("ENGLISH2.DAT",ios::in|ios::binary);
- int offset = 0;
- while (true)
- {
- char c = a.get();
- char d = b.get();
- if (c == EOF || d == EOF)
- break;
- if (c != d)
- {
- cout << hex << "0x" << offset << ": " << c << ' ' << d << endl;
- }
- offset++;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement