Homework

Assignments

Be sure to follow good C style in all the code you submit.

Programming Assignment 5

Programming Assignment 4

Programming Assignment 3

Programming Assignment 2

Programming Assignment 1

C Software

If you are on a Windows, Linux, or MacOS machine, the simplest way to compile and run C code in this course, is to use the free Code::Blocks development environment. Just follow these instructions to set things up.

Another option for Windows is the free Dev-C++ development environment. Use these instructions to set things up.

Another option for MacOS X is the free Xcode development environment. Follow these instructions to set things up.

We do not recommend Microsoft Visual Studio on Windows. Current versions do not support C out of the box, and no versions support the 1999 C standard.

How to submit your work

Submit all your files in one Zip archive. On Windows, use a utility like Winzip Filzip, or TUGzip. If you use the built-in file compressor in Windows, make sure you know what you're doing! On MacOS X, use the archive command. If you're using a Linux use either zip or gzip.

How to get help

Programming can be very time consuming. Always start your assignments as early as possible. If you do get stuck, do NOT waste hours on a single error. Instead, get help. The fastest way is to check the newsgroup. Chances are someone else has had the same problem as you and can give you a hint. Tips, clarifications and answers will also be posted by the staff. You may discuss the homework with other students in the newsgroup as long as you never post anything that will be graded.

The TAs will have regular office hours at the lab, where you can get them to look at your work in progress and offer you hints and useful programming tips. Take advantage of that.

Grading, regrading and late submission

Grading guidelines will be included in the assignment handouts. For information on regrading and late submission see under Info


Valid HTML 4.01 Strict