Skip to content

Instantly share code, notes, and snippets.

@ajess33
Last active Oct 26, 2017
Embed
What would you like to do?
#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