hi guys im watching online cs50 and i have some questions about ceasar this is my test code to make shure everything work and queastion is how can i use isalpa() function correctly and where i should use it before printf or in printf function i tried several times i dont know why but this function doesnt work how i want and second question is how can i return [ i ] to begin of Alphabet i tried but just dont get it i tried formula butt....still ... give me some good clue on second question but not the answer im not seek easy ways thank you in advance (p.s sorry for me english xDD)


int main(int argc,string argv[])
    string t;
    int i;
        printf("enter youre text to encipher:\n");
        t = GetString();
    int k = atoi(argv[1]);
    for(i = 0; i < strlen(t);i++)
        printf("%c", t[i] + k);
  • ok so i figured out how to proparly use isalpha but still got question 2
    – Andrew
    Oct 22 '16 at 23:07
  • Can you clarify what is question 2? Oct 25 '16 at 12:17

You must log in to answer this question.

Browse other questions tagged .