Questions tagged [vignere]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
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 ...
jwang1191's user avatar
0 votes
1 answer
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> #...
Turner Allen's user avatar
0 votes
1 answer
29 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 ...
Mote Zart's user avatar
  • 127
0 votes
1 answer
28 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> # ...
Vignesh's user avatar
0 votes
1 answer
34 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 ...
user11913821's user avatar
0 votes
0 answers
59 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 ...
Yeung Benjamin's user avatar
0 votes
1 answer
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 ...
stephanie's user avatar