SHARE
TWEET

Untitled

a guest Aug 25th, 2016 1,054 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main() {
  5.  
  6.     FILE* oldSkullFile = fopen("oldSkull.final", "rb");
  7.     FILE* newSkullFile = fopen("newSkull.final", "rb");
  8.  
  9.     unsigned char oldSkull[691];
  10.     unsigned char newSkull[691];
  11.  
  12.     fread(oldSkull, 1, 691, oldSkullFile);
  13.     fread(newSkull, 1, 691, newSkullFile);
  14.  
  15.     for (int i = 0; i < 691; ++i)
  16.         if (oldSkull[i] != newSkull[i])
  17.             printf("%c", newSkull[i] - oldSkull[i]);
  18.  
  19.     puts("");
  20.  
  21.     return 0;
  22.  
  23. }
RAW Paste Data
Top