Skip to content

Instantly share code, notes, and snippets.

@ajess33
Last active October 26, 2017 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajess33/42f5ca4e145db518bccb13b7cf6d4486 to your computer and use it in GitHub Desktop.
Save ajess33/42f5ca4e145db518bccb13b7cf6d4486 to your computer and use it in GitHub Desktop.
#include <cs50.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
int main(int argc, string argv[]) {
if (argc != 2) {
printf("Error, try again");
return 1;
}
return 0;
// make k into an int
int k = atoi(argv[1]);
// prompt user for plaintext
printf("plaintext: ");
string p = get_string();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment