Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 14319

Vigenere Cipher, one of the assignments in Problem Set 2. It's like Caesar Cipher, but with a twist.

0 votes
2 answers
167 views

C - CS50 - Vigenere slightly off with "BaZ" and "BaRFoo" which gives output of "CaQGoh"

I'm at my wits end with this pset2 exercise. When I test my code I get a single error: :( encrypts "BaRFoo" as "CaQGon" using "BaZ" as keyword \ expected output, but not "CaQGoh\n" Why in the nam …
Kyle's user avatar
  • 15
1 vote
Accepted

C - CS50 - Vigenere slightly off with "BaZ" and "BaRFoo" which gives output of "CaQGoh"

As it turns out, not only do you want to check pre-encoded string characters for case, you also have to check the encoding key characters for case to ensure that the values line up appropriately. My u …
Kyle's user avatar
  • 15