Skip to main content

Questions tagged [lowercase]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

PSET5 Speller case conversions

I've been struggling with writing code for case conversions in the check function to make all hash words to be lower-cased. My lack of knowledge in programming overall seems to be revealed at this ...
Jae-Min's user avatar
0 votes
1 answer

Converting an array to lowercase

I am trying to convert an array to lowercase, and store the values as a new array. #include <cs50.h> #include <stdio.h> #include <ctype.h> int main(int argc, string argv[]) { ...
Luke Sharkey's user avatar
0 votes
1 answer

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 ...
Daniel Esdaile's user avatar
0 votes
1 answer

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 ...
Jana B.W.'s user avatar
0 votes
1 answer

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 ...
Norcim133's user avatar
0 votes
1 answer

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) ...
hagan10's user avatar