/* * 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 mod(A) ((A)%26) int main(int argc, char **argv) { if(argc!=3) exit(1); char *string = *(argv+1); int i, rot = (int)strtol(*(argv+2), NULL, 10); for(i=0; i