The program is to take a single command line argument, the name of a text file that contains a “map”.
The map consists of several lines, the first line specifies the height of the map, the second line specifies
the width of the map, the remaining lines consist of '*' and ' '. An '*' indicates a wall, while a ' '
indicates an empty space.
and test through various test files
Your question requires a lot of work and can be submitted as an assignment to our site. Just follow this link and our experts will assist you.