Questions tagged [vignere]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
29 views

I can't work out what is wrong with my code - I think I am not indexing into the key

#include <cs50.h> #include <ctype.h> #include <stdio.h> #include <string.h> int shift(char c); int main(int argc, string argv[]) { // Checks to make sure user enters ...
0
votes
0answers
53 views

Expected identifier or '(' and undeclared identifier ERROR (PSET2 Vignere)

Hi all, I'm getting 6 errors from my code, stemming from two main reasons: Expected identifier or '(' Use of undeclared identifier I can't figure out what went wrong my code even after inspecting ...
0
votes
1answer
17 views

My for loop in vigenere will not execute

The for loop is not running and I cant figure out why. Everything looks good to me. I need some fresh eyes. Thanks guys! #define _XOPEN_SOURCE #include <stdio.h> #include <unistd.h> #...
0
votes
1answer
14 views

Encryption Vignere issue

I am having trouble with getting the right output. When I use debug, it steps through, but gives me the wrong character... but I've gone through my equation dozens of times even with pen and pencil ...
0
votes
1answer
27 views

vigenere - white space throws off wrap value

Having read the other posts I am still unable to solve the problem created by white space. Belows code only deals with the key as not to post too much code publically. The white space is not handled ...
0
votes
1answer
27 views

Misprinting the vignere cipher

When executed, my code prints out only 1 letter of the plaintext edited. Logically, it seems to be correct. Any help would be greatly appreciated. Thanks in advance :) # include <stdio.h> # ...
0
votes
1answer
193 views

Pset2 vigenere how to combine key loop with message loop

I think I have a basic understanding of what I need to do to solve vigenere. However, I have trouble applying the key loop to the message loop. Specifically, I have a couple of questions. I created a ...