Question: USING C++ Given an input maze and a starting location within the maze, you are to write a program which will determine the shortest path

USING C++
Given an input maze and a starting location within the maze, you are to write a program which will determine the shortest path out of the maze from the starting location. Create a basic graph from the input maze, then find a shortest path from s to e in that graph. A maze consists of the following 1. Paths, which will be represented by the space character (') 2. Walls, which will be represented by the pound symbol (#) 3. An entry or exit gate (e) 4. A starting location (s) The input file (maze.txt) is attached. The file format is as follows First line: dimensions of the maze- number of rows and then number of columns Second line through number of rows: the actual maze There will be several mazes to be processed in maze.txt. Your output should be written to a file called maze.out. There is a sample output file attached. Your output file should have this format. Print title for the file "Solutions for the Maze Assignment" Print your name - "
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
