Hello,
I teach C+++ to engineers world-wide and also help students a LOT(and teach students too)
*** UPDATE **
I have done a demo for this program in Viswual C++ (for Windows).
If you want, contact me and I will send you the executable for you to take a look.
You know - this is actually a really simple program to implement? :) It should take no more than 1-2 hours, at most.
I can do it for you tonight, if you want? What O/S is the program to run on(Windows, Linux)???