Timeline for C - CS50 - Vigenere slightly off with "BaZ" and "BaRFoo" which gives output of "CaQGoh"
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 27, 2016 at 19:14 | vote | accept | Kyle | ||
Nov 28, 2016 at 22:11 | comment | added | Kyle | Of course! I see it now. ( . ) ( . ) Thank you! : D | |
Nov 28, 2016 at 19:40 | comment | added | Yuri Laguardia |
If you want a better way to deal with this, you could just always convert keyword to lowercase before you start using it in the rest of the code. If you do that, you can use only (keyword[y] - 'a') and ditch the keyword[y] - 'A' conditions.
|
|
Nov 28, 2016 at 19:34 | history | answered | Kyle | CC BY-SA 3.0 |