Fear not! This is a very simple assignment, whose purpose is to make sure everyone everyone has the facilities to write, compile and run a program. You must write a very simple command-line program, so simple that in the time it took me to write this page, you probably could have finished it.
Your task: write a program that performs the Shift cipher upon input text. You should provide the shift as a command-line argument, towit:
% cat inputfile.txt
Hello! Etc etc etc.
% shiftcipher -3 < inputfile.txt
Khoor! Hwf hwf hwf.
The code should simply shift each input letter to the right in the alphabet, wrapping 'Z' around to 'A'. Hence 'H' shifted 3 spaces becomes 'K', 'Y' shifted 3 becomes 'B'. Note:
Mail the code to scraver; if it is C, I will compile it on bingsuns with gcc. If there are any special instructions for compiling it, just let me know in your comments.