In chapter 15 of my book Data Structures in C++ Using the STL, published by Addison-Wesley in 1998, I present two simple event-driven simulation frameworks written in C++. The first describes a solution to the knights-tour problem, and is a backtracking framework. A copy of this chapter can be obtained either in postscript or in pdf.
The second is a more general event-driven simulation framework. A copy of this chapter can be obtained either in postscript or in pdf.
Further information on all of my books can be found at my website, at ftp.cs.orst.edu/pub/budd