Originally Posted by
smokeyangel
The obvious errors would be that you haven't defined sol[][] or solveMaze(). I didn't get anything else.
That aside, this looks good. It solves the maze you've given, and removes markers from dead ends correctly.
What exactly is going wrong on your side? Error messages, bad output?
I guess it still finds one path, even is more than 1 way to get to the end.