Turning in a homework assignment for CS 302/ECE 468

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, your partner's name (if you have one), 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 302
Name: Jean Shepherd
Name: Gluyas Williams
Assignment: 0

Any other comments that you want to make...
*/
#include <stdio.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 CS302HW0Surname.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. If you are working with a partner, only one of you needs to e-mail your solution to me. 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., CS302HW0Surname.zip. (If you are working with a partner, you may want to simultaneously send the assignment to your partner's e-mail address also (that is, send one e-mail message to two e-mail addresses). That way, I can respond to both or your e-mail addresses at the same time.)

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: CS302HW0Surname".


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


compliments and criticisms