i need little help completing Hail, Caesar! trying to complete it from last 4 days.
This is my code so far:
int main(int argc, string argv)
string key = argv1;
if (argc != 2)
printf("Give me a key also\n"); return 1; }
int k = atoi(key) % 26; //printf("Give me the Plain Text: \n"); //string pl = GetString(); //int pl = 'A'; int c = ('A' + k) % 26; printf("is %c is %d\n", c, c);
I was watching Zamyla's walk through and she was able to get the ASCI Character and number! But i am only getting the numbers, like i tried to execute: ./ceaser 2 and the output was this:
Can anyone please tell me why am i getting no character in the terminal?