/* * A rather useless tool specifically designed to work with foursquare.c * * Copyright (C) 2014 Tomasz Kramkowski * * This program is free software. It is licensed under version 3 of the * GNU General Public License. * * You should have received a copy of the GNU General Public License * along with this program. If not, see [http://www.gnu.org/licenses/]. */ #include #include #include #include #define MAXLIST 1000 #define MAXKEY 100 int getword(char *output, int maxlength) { int c, p=0; while((c = getchar())!=EOF && isalpha(c) && p ", argv[0]); exit(EXIT_FAILURE); } command = argv[1]; ciphertext = argv[2]; for(i=0; i