Turning in a homework assignment for CS 455

Your source code files should follow a specific format and you will submit them to me in a specific way. These rules make it easier for me to automate the collecting and compiling of your homework assignments, so it is important that you follow them carefully.

Format for your source files.

At the very beginning of each of your source files there should be a C-style comment containing the course number, your name, and the assignment number. An example below shows how you are to format this. After this comment are your include statements. After the include statements are your function definitions (or declarations). Right after the closing brace of a function definition there should be a C++ style comment containing the name of the function. Here is a template of how a source file should look.
/*
Course: CS 455
Name: Jean Shepherd
Assignment: 0

Any other comments that you want to make...
*/
#include <stdio.h>;
#include "glut.h";

main(int argc, char* argv[])
{

/* your code goes here */

}//main
Your solution for an assignment will probably make use of a few source files. What I want you to turn in to me is a zip file containing all of the source files for your solution. I want you to follow a very strict rule for naming your zip file. The name of your zip file should be of the form CS455Hw0Surname.zip. The number between Hw and Surname is the number of the homework assignment. And Surname is of course your last name. If your surname has more than one part, concatenate the parts together so that the file name does not have any spaces in it.

Submitting your assignments.

When you are finished with an assignment, e-mail me your source code in the zip file. Attach the zip file to your e-mail message. In the body of the e-mail message put your name, your partner's name, the course number, and the assignment number. The subject of the e-mail message should be the name of your zip file, i.e., CS455Hw0Surname.zip.

If your assignment is not finished but you want to send it to me in order to ask a question about it, then use the following procedure. Put your question in the body of the mail message and either attach your source code or put it in the body of the mail message, whichever you think is more appropriate. The subject of the e-mail message should be of the form "Question: CS455Hw0Surname".


Return to the Homework page.
Return to the CS 455 home page.


compliments and criticisms