Advertisement
93aef0ce4dd141ece6f5

xorFile code skeleton

Jan 23rd, 2016
873
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.34 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int xorFile (char *infile, char *outfile) {
  4.     /*
  5.      * put your code here to open and
  6.      * close your file handles and the
  7.      * XOR operation which will be
  8.      * performed on the infile to
  9.      * produce outfile
  10.      */
  11. }
  12.  
  13. int main (int argc, char *argv[]) {
  14.     xorFile (argv[1], argv[2]);
  15.  
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement