|
Your source code files should follow a specific format and you will e-mail 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 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. 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
Assignment: 0
any other comments that you want to make...
*/
#include ???;
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 CS302Ass0Surname.zip . The number between Ass 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.
-
E-mailing 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, the course number, and the assignment number. The subject of the e-mail message should be the name of your zip file, i.e., CS302Ass0Surname.zip.
If your assignment is not finished yet but you want to send it to me in order to ask a question about it, then use the following procedure. Put both your question and your source code in the body of the mail message. The subject of the e-mail message should be of the form "Question: CS302Ass0Surname".
NOTE: If you are having trouble getting your e-mail client program to make a source code file an attachment, use the Purdue Calumet WebMail server to submit your homework. The attachment feature works properly. You will need to know your AXP username and password to use this e-mail program (not your campus network username and password).
|
|