CS50 Substitution tolower is capitalizing my A characters
Doing week 2 of CS50.Its supposed to be a ciphering algorithm. Ive gotten to the point where it ciphers my code BUT for some reason when I try testing my code and using my name, it doesnt make my second A char a lower cased a.
CS50x 2024 – tideman_test.c not compiling
check50 fails to compile for tideman.c (full error here)
tideman.c itself compiles fine (both locally with make
and in check50) but tideman_test.c doesn’t:
Unable to get the intended result despite code compiling
#include <cs50.h> #include <stdio.h> #include <ctype.h> #include <stdlib.h> #include <string.h> bool only_digits(string); int main(int argc, string argv[]) { //Get key// //Preserve capital/lower case letter, spaces, punctuations// //Print out usage message if user don’t comply (two arguments)// if(argc != 2) { printf(“Usage: ./caesar keyn”); return 1; } else { return 0; } // Print out usage […]