CIS307: Homework1: Directions for mailing solutions

I would like to receive the programs for Homework 1 in the format described below. This is to enable me to identify the sender and the contents of a message from the subject line of the message, and to extract the message into a file with a name that identifies the sender through his/her CIS 307 class account id on snowhite.

Please follow these steps before you mail your files

  1. Rename your files as shown below before mailing them. Suppose your account id on snowhite for cis307 is c307104. I assume that you have the following files comprising your program - These files should be renamed as follows :
                 Original name                       New name
                 -------------                       --------
                  eventq.h                            104_1.h
                  serverq.h                           104_2.h
                  simulation.c                        104.c
    
    (If you have more than 3 files to send, then name the header files first in the manner described above, and name the driver program 104.c)

    The file simulation.c would contain the following directives :

    #include "eventq.h"

    #include "serverq.h"

    #include "random.h"

    Once simulation.c is renamed to 104.c these directives should be modified to

    #include "104_1.h" and #include "104_2.h" respectively.

    The file simulation.c also has the directive #include "random.h". The header file random.h contains the definition of the function PickRandom() used in the simulation algorithm that I had mailed to you earlier. The file random.h will be in my directory when I run your program and so it SHOULD NOT be renamed. The directive #include "random.h" in your program should also not be modified.

    Please note that the prefix 104 in each name comes from the snowhite account id c307104. (Do not forget to substitute the last 3 digits of YOUR OWN snowhite account id for 104 in the above names.)

  2. Compile the RENAMED files and run your program AT LEAST ONCE before you mail the files to me. The #include directives should reflect the changes in the names of the header files. Please make sure that the program works exactly as it did before the files were renamed.
  3. Mail your files to snowhite. If you are REGISTERED for Section 1 (irrespective of the Lab section you attend) please mail the files to c307100, otherwise mail them to c307200.
  4. Indicate the name of the file (104_1.h, or 104_2.h, etc.) as the subject when you mail the file. This can be done easily if you use a mailing utility such as pine.
  5. The program should be mailed by 5 p.m on Monday, February 13th. I will acknowledge the receipt of your program, sending you a message at the account from where you mailed the program. Please send me a message at my astro account if you do not receive my acknowledgement by February 15.
  6. Mail any questions or requests for clarifications to my astro account amandala@astro.ocis.temple.edu. Please do not mail programs to that account.
Let me know if you have any questions about all this.

amandala@astro.ocis.temple.edu