ELECTRONIC SUBMISSION | Fall Term | CSCI-E26 |
You will submit your work by computer. The steps are described below:
You will be prompted to specify the name of the homework assignment. Answer the question.
Homework is due by midnight on Sunday. There is a 10 point penalty for each day late.
Use the script command to capture the sample runs of your program. script will record everything you type in and everything that gets printed out, and save it all in a file. To make a script, type in script. The computer will print a message and give you your regular prompt. Now compile your program and then run it. Type "exit" at the prompt when you wish to stop recording. Unless you specify some other name, script will save everything in a file called "typescript", so submit that file. A sample session is shown below:
$ script Script started, file is typescript $ gcc -Wall -W -O2 -o foo foo.c . . . $ ./foo . . . $ exit Script done, file is typescript
You can specify a different name for the script file by entering "script filename".
The work you submit must be your own work. You may build your code on samples from class or examples from texts, and we encourage students to discuss problems and techniques. Your homework should be all your own work or a combination of your own work and your synthesis and extension of examples. Please quote sources of chunks of code.