Check50 is telling me that none of the expected ciphers are working, however running each of them appears to give the exact same output it expects. I cannot see where the failure is coming from. Check50 output:
:) caesar.c exists.
:) caesar.c compiles.
:( encrypts "a" as "b" using 1 as key
expected "ciphertext: b\n", not "b\n"
:( encrypts "barfoo" as "yxocll" using 23 as key
expected "ciphertext: yxo...", not "yxocll\n"
:( encrypts "BARFOO" as "EDUIRR" using 3 as key
expected "ciphertext: EDU...", not "EDUIRR\n"
:( encrypts "BaRFoo" as "FeVJss" using 4 as key
expected "ciphertext: FeV...", not "FeVJss\n"
:( encrypts "barfoo" as "onesbb" using 65 as key
expected "ciphertext: one...", not "onesbb\n"
:( encrypts "world, say hello!" as "iadxp, emk tqxxa!" using 12 as key
expected "ciphertext: iad...", not "iadxp, emk tqxx..."
:) handles lack of argv[1]
Pastebin of my code: https://pastebin.com/UHV6rFrB
I know my code is a little messy, I am very new to this and trying to get better