You should submit all relevant code files (.cpp and .h files), a Makefile (see a sample Makefile), and a simple text file called README. In particular, you should not submit backup files, executables (.exe files), or other binary files (.o files).
To submit a project, click on
A submit window will pop up. Select the course you are taking and the project
from the appropriate options menus.
Next, find the project folder you want to submit by either typing into the text field or by selecting the Browse button. You may select files from as many projects as necessary.
In the submit window on the left, you should see only the files in this project, for example a .cpp file and a Makefile. Click on both of these to select them for submission. In the right side of the window the names of these two files should appear.
To complete your submission, click the submit button at the bottom of the window. You will be prompted to enter your Duke NetID and password. If everything worked correctly, you should see a message saying you have submitted this project successfully. If not, this indicates a problem outside of your control. Please mail the course staff in this case, copying the error message you receive into the body of the mail message.
You can check the status of your submissions at any time by selecting the Submit History button under the Duke Tools menu. This should show you a list of the files you submitted and when you submitted them.
When you submit on acpub in UNIX, your assignment ends up in the same place as when using eclipse. Now, however, you must manually call the submit_cps006 program. The general syntax is
submit_cps006 assign_name README Makefile *.cpp *.h
where assign_name will typically be provided on the project or weekly problem page: Note that the "*" is shortcut that means "all." When you submit "*.cpp," you are submitting all files with the "cpp" suffix. If you are submitting assignment 1, you would type
submit_cps006 assign01 README Makefile *.cpp
You should get a confirmation message printed in your terminal window if the submit was successful. If you receive an error message when you run this command, it indicates a problem outside of your control. Please mail the course staff in this case, including both the command you typed and the error message it printed. Without these two pieces of information, we cannot provide assistance. (Note, however, if you get an error message from your terminal, "command not found", then you will need to type out the full command name /afs/acpub/project/cps/bin/submit_cps006 --- note, to fix this problem when you submit in the future, please follow the directions online here).
You can check the status of your submissions at any time by typing
submit_cps006 project_name
with no additional arguments. This should show you a list of the files you submitted and when you submitted them.