Questions tagged [lowercase]

The tag has no usage guidance.

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

Vigenere code not giving correct output when the key is a mix of upper & lower case letters!

currently doing the vigenere code & have gotten the green light on all but one of the checks. The check it is failing is the case when the key is 'BaZ' and the word is 'CaQGon'. The message given ...
0
votes
1answer
163 views

cs50 pset2/vigenere - code doesn't work if text and key differ upper/lower case

I Don't know how to make code work if key is lowercase and text uppercase and vice-versa. Before I considered case sensitivity my code would work except for a few letters. Now it wont output full ...
0
votes
1answer
530 views

pset5 check function error using tolower with const char*

Below, I want to turn each letter in the array of word into lower case. I'm using a loop and tolower to change each letter. But I get this error when I compile: dictionary.c:44:33: error: read-only ...
0
votes
1answer
210 views

pset2 Vigenere: Problems Applying Key & Case

for (int i = 0, n = strlen(p); i < n; i++) { if (isalpha(p[i])) { if (isupper(p[i])) { char stringshifttext = ((((p[i] - 'A') + (k[i % strlen(k)] - 'A')) % 26) ...