School timetable creator is a program to create Timetables for schools written in C++. The features are –
- Allows for manual setting of class teachers.
- Checks whether there are enough number of teachers to teach each subject before running timetable creation routines.
- Creates timetables in 5 seconds in most of the cases.
- Default date provided for testing straightaway.
- Common periods like MPT, CCA are supported.
- The subject list created according to the probability of occurrence of each subject. This subject list is used to distribute subjects to time slots, in accordance with teacher and subject level constraints.
- In case of a no go using above step, a subject swap is tried within same day.
- In case of a no go using above step, a subject swap is tried from a previous day.
- A recursive swap of time slots is done where an available teacher is introduced to the chain of swaps which solves the current conflict.
This can be a good project for high school/undergraduate course in Computer science. Please find the code here.
Update, August 2026 — this download was lost when the site went down and has been salvaged from the author’s original media. GTIMETBL.CPP is restored in full, along with the original MakeS.exe / Manager.exe binaries and sample data tables. The source depends on kjmenu.cpp and tmhdr.cpp, neither of which survived, so it will not compile as-is — but the binaries still run under DOSBox.

Sreekumar (KJ) has been a hobby programmer from school days. Codemarvels is his personal blog from the year 2010, where he writes about technology, philosophy, society and a bit about physics.
He now runs a conversational AI company – DheeYantra – focusing his efforts to help businesses improve operational efficiency using digital employees powered by AI.