-1

I do not control?? do so each independent encryption if uppercase text and key do this if key lowercase text and do this if uppercase - lowercase text and key do this if lowercase - uppercase text calve do this.

My fault was in the "for", you have to read the string to be encrypted, and move j, independent ... I hope this helps someone will have compilation errors for punctuation signs, blanks are characters, etc. .

enter image description here

enter image description here

2
  • but I am clear that when I use the argv [1] and kj not let me do this control, only alpha for the key, and special characters. Now I devigenere, is the first thing I do to debug my work. But I have not managed to do this Jun 27, 2014 at 15:31
  • My fault was in the "for", you have to read the string to be encrypted, and move j, independent ... I hope this helps someone will have compilation errors for punctuation signs, blanks are characters, etc. . Jul 4, 2014 at 16:34

1 Answer 1

0

The first error says that your output SHOULD be "xoqmd, rby gflkp!" using baz as a keyword.

Try your program out and if you don't get that output then you need to check your code and find out what's wrong. There is a devigenere program that reverses the output, so if your code gives something else, try that program. You can use that program by typing this:

~cs50/pset2/devigenere

That might help your debugging stage.

For the second error, the word Hax0or2 contains two numbers in the word. You need to include a line that rejects numeric input from the user. You can try using the isalpha function.

Not the answer you're looking for? Browse other questions tagged .