Directions for mailing the program files of Homework 5

I would like to receive the program files for Homework 5 in the format described below. This is to enable me to identify the sender and the contents of a message from the subject field of the message, and to extract the message into a file with a name that identifies the sender through his/her 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 -

    hmw_main.c
    containing the code for HMW_MAIN,
    rand_proc.c
    containing the code for RAND_PROC1 and RAND_PROC2, and,
    id_list.h
    defining the list of strings used to initialize the SSTORE_ID component of each element of STORE. This header file is attached to rand_proc.c through a #include directive.
    These files should be renamed as follows :
          Original name                  New name
           -------------                 ----------------
            hmw_main.c                   104hmw_main.c
            rand_proc.c                  104rand_proc.c
            id_list.h                    104id_list.h
    

    If your program uses additional header files please rename them by prefixing the original name with the last three digits of your account id on snowhite.

    Please make sure that all compiler directives and statements that use the original names of the files are modified to refer to the new names.

       For example, the #include directive in 104rand_proc.c,  
    
                       #include "id_list.h"
    
       should be modified as 
    
                       #include "104id_list.h".
    
     
       Also the execlp function invocations in 104hmw_main.c, 
    
                                execlp("rand_proc", ..) 
    
       should be modified to 
    
                                execlp("104rand_proc", ..). 
    
    I first compile 104rand_proc.c and have the output placed in 104rand_proc, invoking cc with the -o option :
                      cc 104rand_proc.c -o 104rand_proc
    
    Then I compile 104hmw_main.c into a.out and execute a.out.

    I would like to reiterate that all statements that refer to the old names of the program files should be modified to refer to their new names.

    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. This will help ascertain whether the program works the way it did before the files were renamed.

  3. Please do not mail me anything other than the source code. I will compile and run your programs myself, and so I do not need object code or sample output from a log file.

  4. Put your name and SSN in AT LEAST ONE of the files.

  5. Mail your files to snowhite. If you are REGISTERED for Section 1 mail your files to c307100@snowhite.cis.temple.edu, otherwise mail them to c307200@snowhite.cis.temple.edu. Please DO NOT mail your files to my personal account on astro.

    Please make sure you use the COMPLETE address (not just c307100 or c307200) so that the messages would be sent to my account on snowhite server.

  6. Indicate the name of the file (104hmw_main.c, 104rand_proc.c etc.) on the subject line when you mail the file. (This would help me extract each of your messages into the appropriate file). This can be done easily if you use a mailing utility such as pine.

  7. The programs are due on Friday, April 14. I will send you a message at the account that I received your programs from, acknowledging the receipt of your files, and indicating the number of files received. If in spite of mailing your program you do not hear from me by Monday, April 17, please send me a message at amandala@astro.ocis.temple.edu.

  8. My criteria for evaluation of solutions and their relative measures of importance are as follows:
    
    		Correctness of results     -   60 points
    		Correctness of logic       -   20 points
    		Program organization       -   20 points
    					      ----------
    					      100 points
    

    amandala@astro.ocis.temple.edu