I have posted the first (probably of several) tutorials about C++ and FlTk to help you do the project.
These will be under Tutorials and the first one is about FlTk callbacks (that I mentioned in class), which gets at pointers to functions and casts and other C++ issues.
Please let me know if this is helpful – and if there are clarifications to it that might make it better!