Maze Generator

A Generated Maze

I wrote this maze generator back when I was still in high school, so it's not a course project or assignment, and the code is nothing to write home about. However, I'm putting it here since maze generation and solving is a very common first-year college assignment and having some sample code to analyse may be useful to new students.

The program is very simple - it's a maze generator and solver. The latter is a simple depth first search, while the former is a more advanced system that can use one of 5 algorithms (links to different sections of the same Wikipedia article):

I originally wrote the program as a console application, but later gave it a Windows GUI. That was my first encounter with raw Win32 API, and it has scarred me deeply.