Advertisement
decs4usa

vigenere

Nov 9th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.47 KB | None | 0 0
  1. #include <cs50.h>
  2. #include <stdio.h>
  3. #include <ctype.h>
  4. #include <string.h>
  5. #include <stdlib.h>
  6.  
  7.  
  8.  
  9. int main(int argc, string argv[1]);
  10.     int j;
  11.    
  12. {
  13.     if (argc != 2) //if user doesn't run command-line argument of one or enter positive int  
  14.     {
  15.         printf("Usage: ./vigenere key\n"); //prompt them to run it again
  16.         return 1; //returning zero means everything went well
  17.     }
  18.    
  19.     if (isalpha(argv[1])) //If user inputs an alpha key continue
  20.  
  21.        
  22.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement