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 2606

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

1 vote

pset2-vigenere-the argv[1] value comes with garbled words?

Here's what you're trying to do: #include <stdio.h> #include <string.h> #include <ctype.h> int main(int argc, char* argv[]) { int N = strlen(argv[1]); char key[N+1]; int p; for (p = 0; p < …
RexYuan's user avatar
  • 309