45hook

Untitled

Jul 26th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. ~/workspace/hacker2 $ check50 2015.fall.pset2.vigenere vigenere.c
  2. :) vigenere.c exists
  3. :) vigenere.c compiles
  4. :( encrypts "a" as "a" using "a" as keyword
  5. \ expected output, but not "a ΓΈΓΏ\n"
  6. :( encrypts "world, say hello!" as "xoqmd, rby gflkp!" using "baz" as keyword
  7. \ expected output, but not "xoqmd, rby gflkp!@AΓΏ\n"
  8. :) encrypts "BaRFoo" as "CaQGon" using "BaZ" as keyword
  9. :) encrypts "BARFOO" as "CAQGON" using "BAZ" as keyword
  10. :) handles lack of argv[1]
  11. :) handles argc > 2
  12. :) rejects "Hax0r2" as keyword
  13. https://sandbox.cs50.net/checks/dcc4a6187d8d414d96d9b33c2adecbb5
  14.  
  15. ~/workspace/hacker2 $ ./vigenere a
  16. a
  17. a~/workspace/hacker2 $ ./vigenere a
  18. a
  19. a`hd
Add Comment
Please, Sign In to add comment