Search:

Type: Posts; User: GK77

Search: Search took 0.01 seconds.

  1. Vigenere - can't stop key from iterating when plaintext is non-alphabetical

    #include <cs50.h>
    #include <ctype.h>
    #include <stdio.h>
    #include <string.h>


    int shift(char c);


    int main(int argc, string argv[])
  2. Replies
    2
    Views
    3,468

    Vigenere - can't stop keyword from iterating

    // Converts plain text to cipher text
    for (int l = 0, o = strlen(s); l < o; l++)
    {
    if (islower(s[l]))
    {
    int m = (l % strlen(argv[1]));
    ...
Results 1 to 2 of 2