OK i have a project due for my CS class in a week or so and i decided to come on here and see if anyone has ideas for how i should do this program. I have to open a file that has a 20x20 maze with "o" for the path, "x" for the walls, and i start and end at two different letters. an example would be
xxxxxxxxooooooxxxxxx
xxoooooooxxxxoooxxxx
xxxxxxxxoxxxxxxxxxxx
THen the program has to create another file that has the directions through the maze.
Im having problems storing the individual characters in an array, im using a 2-dimensional one and im wondering if im going at that the wrong way. Im also wondering if anyone would help with ideas on how i would go at parts of the maze where there are multiple directions to go. Thanks for the help in advance



LinkBack URL
About LinkBacks


