/************************************************\ caesar.c livinded 2006 This uses a simple encryption method known as the caesar cipher to encrypt a line of text entered by the user by offsetting the value of the letters in a line entered, or decrypt a line of line of text by selecting the correct negative offset. Do whatever the hell you want with this, it's open source and all that fancy stuff. \***********************************************/ #include #include #include #include #define LINEMAX 80 char positive(char *s, int shift); char negative(char *s, int shift); void file(char *file, int shift); int main(int argc, char *argv[]) { int shift; if (argc == 1) { int i; char *p; char line[LINEMAX]; char linemodified[LINEMAX]; printf("Enter the number of shifts you want to make up or down.\n>>> "); fgets(line, sizeof(line), stdin); sscanf(line, "%d",