For everything you need to know about submitting assignments, click here.

One peculiarity with Borland C++ 5.0 is that a program's output can disappear before the user has had a chance to read it.  For a way of getting around this problem see framework.cpp.

Extras (for those wanting a bit more practice)

looping1 (basic  looping)

Last Term's Exercise Page (another source of practice material)

click here

P.S. Disregard the marking scheme remarks - these apply to last term only.

Exercise #1 (Railway Diamonds)

Question (PowerPoint slides)
Executable (run this to see how your program should work)
Solution

Exercise #2 (Passing Objects Through a Pipe)

Question (PowerPoint slide)
Executable
Solution

Exercise #3 (Party Birthday Probabilities)

Question (PowerPoint slides)
Executable
Solution

Exercise #4 (Student Loans)

Question (PowerPoint slides) ** Modified Feb 4 at 9:10am **
Executable (for original assignment)
Executable (for simplified version)
Solution (for original assignment)
Solution (for simplified version)

Exercise 5 (Roof Calculations)

Question (PowerPoint slide) ** Two small errors fixed Feb 7 at 8:30am **
Main function (supplied code)
Executable  ** Finally all right (I hope!) Feb 11 at 8:07 **
Solution

Exercise 6 (The Game of Nim)    *** This assignment is due February 27th ***

Question (Powerpoint slide)
Starting point (supplied code)
Executable
Solution

Exercise 7 (Tug of War)

Question (Powerpoint slides)
Executable
Solution

Exercise 8 (Cryptography)

Question (Powerpoint slides)
Encoded message (as extracted from a letter sent by a typical 166 student to his parents!)
Executable  ** Improved slightly March 12 at 11:10 (now handles missing \n at end of final input line) **
Solution

Exercise 9 (Water-balloon Catapult)

Question (Powerpoint slides)  ** meaning of "target height" clarified March 15 at 13:45 **
Executable
Solution

Exercise 10 (Thermodynamic Tables)

Question (Powerpoint slides)
Sample table (.jpeg image)
skeleton.cpp (your starting point)
table.dat
Executable
Solution (basic)
Solution (using structures)

Exercise 11 (Word Processing)

Question (Powerpoint slides)
skeleton.cpp
Executable
Solution

Exercise 12  (Improved Exercise 11)

Question (Powerpoint slide)
Solution
No executable is supplied because the program is functionally identical to assignment 11.