Skip to main content

Questions tagged [lowercase]

The tag has no usage guidance.

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

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
97 views

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
119 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 ...
Daniel Esdaile's user avatar
0 votes
1 answer
172 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 ...
Jana B.W.'s user avatar
0 votes
1 answer
571 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 ...
Norcim133's user avatar
0 votes
1 answer
212 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) ...
hagan10's user avatar