CS107: Programming Paradigms

Submission Instructions

Main 107 Page

  1. Log into your leland account from one of the workstations.

  2. Make sure that the project you submit compiles cleanly by issuing the command "make". If it has errors during compilation, the script will reject your submission and make you submit again. We also frown on code that doesn't compile perfectly (i.e. produces warnings); your entire project should make no complaints.

  3. Put a "README" file in your project directory, containing your real name, your leland username, and an e-mail address where we can contact you if we have any problems. If you have any special comments you want the the grader to know about your submission, please add them here. The README is also a pretty good place to put feedback about the assignments. Too hard, too long, too easy, too much fun? TAs also like jokes, but only if they are in good taste. :)

  4. From the shell command line, type:
    /usr/class/cs107/bin/submit 
    The script will:
    1. Ask you which assignment you are submitting (you will be presented with a list of possible assignments).
    2. Ask you for the source directory path and show a list of files that will be copied. It prevents submissions of no files.
    3. Try to make your assignment if it is a C++ or C program. If errors occur, your submission will be canceled.
    4. Copy your assignment source files, Makefile (if any), and README, from the current directory to our submit folder.
    5. If all goes well, you get the happy "SUCCESS" message. If you get a message that says something else, follow its directions. If you get stuck, send mail to cs107@cs.stanford.edu.
    Here's a sample run:
    epic28:~/cs107/section1> /usr/class/cs107/bin/submit
    
    ------------- Welcome to the CS 107 Submit Script -------------
    
    If you are using this script on a machine other than an elaine,
    epic, myth, fable, saga, or tree, please hit CTRL-C to cancel
    this script, log into one of those machines and try again.
    
    
    You are submitting for Susan Noreen Shepard from epic28.Stanford.EDU	 
    If you're not Susan Noreen Shepard, then log out and try again
    after logging into your own account.
    
    ****************************************************************
    
    Which assignment are you submitting? 
            0 )  Test Submission
            1 )  Six Degrees of Kevin Bacon Part I
            2 )  Six Degrees of Kevin Bacon Part II 
            4 )  The cvector
    Enter the assignment number (0,1,...): 0
    You are submitting hw 0 Test Submission
    
    ****************************************************************
    
    Enter the path to your source directory--use . for the current directory: .
    The following files will be copied from  /afs/ir.stanford.edu/users/s/h/shepard8/cs107/section1 :
    
            Makefile
            sample.cc
            student.h
            student.cc
    
    Is this correct(yes|no)--enter 'no' to choose another source directory? yes
    Compiling your code to make sure there are no errors: 
    
    make: Nothing to be done for `default'.
    /bin/rm -f *.o a.out core sample sample.purify Makefile.dependencies
    
    Code compiled without any errors.
    
    ****************************************************************
    
    Copying files: only source files (with extensions h, c, cc,
    cpp, java, or lisp), your README, and Makefile will be copied.
    
    ****************************************************************
    
    SUCCESS! Susan Noreen Shepard submitted Assignment 0: Test Submission
    
    at Tue Oct 21 22:38:51 2003.  You used 0 late days for this assignment.	 
    

  5. If you need to resubmit a project because you made later changes, just repeat these directions. The script will notice if you are attempting to re-submit and will not overwrite your previous submission. We keep all of your submissions, but only the very last submission is graded unless you tell us differently.

This page was made with valid XHTML and CSS.