To e-mail source code, use one of the following approaches. You will get an automated reply indicating that the mail was received; if you do not get such a reply within a few minutes, this could be an indication that you've done something wrong.
(What this does is use the shar program to combine your sourcefiles into a single file and then pass that to the mail program, which mails it to the cs1321-n account.)
Normal output of this combination of commands is a line for each of your sourcefiles, for example:
Saving yourpgm.cc (text)If you see radically different output -- e.g., the whole source of your program(s) scrolling by -- you have probably done something wrong; check that you typed the command as described, include the | (vertical bar) character.
If all goes well, you should get an automated e-mail reply indicating that the mail was received. If you mistype the e-mail address, you should get a reply back from the mail system telling you about the problem. Either way, the reply will be sent to you at the machine where you submitted the homework. See Reading and forwarding mail under Unix for instructions on how to read it or forward it.
If all goes well, you should get an automated e-mail reply that the mail was received. If you mistype the e-mail address, you should get a reply back from the mail system telling you about the problem.
If for some reason you submit a homework and then want to submit it again (perhaps you found a mistake in your program after submitting it), just repeat the above procedure. I will grade the most recent version I receive.