Please see Documenting Java and C++ Courses.