So I’m once again out of town. This time though I’m pulling a two week stint and I’m enjoying my paid day of rest. I’ve spent the whole day working on my Caesar Cypher and my Vigenere (Vig) Cypher. I’ve prettied up my Caesar Cypher by removing the heavy lifting to two functions. Also, the actual function I used to encrypt the message I can actually use in both cyphers. Stack Overflow has become an excellent resource. It seems like there are people out there with nothing better to do than answer other peoples questions.
I’ve uploaded the updated versions of my Caesar Cypher as well as my Vig Cypher. Heres the link:
Here lies the rub: my Vig Cypher to compile. I tried to just post it here direction as a code block BUT for some reason WordPress decided to completely ignore entire chunks of my code, completely erasing them. Soooo, if you want to help me find my problem you’ll have to download it from my Dropbox. Cest la vie…
Anyway, I keep getting an error at line 32 where I have:
CypherShift (plainText[i], argv [j]);
The error I get is: passing argument 2 of ‘CypherShift’ make pointer from integer without a cast
I also get this error on like 9 where I prototype the function: note: expected ‘const char*’ but argument is of type ‘char’
So yeah, I dont want to vomit my entire wee program onto Stack Overflow and thus beg for help. I think its a bit out of good form to do that. So if the world reading this has any input, I’d appreciate it.