I NEED HELP WITH THIS ASSIGNMENT. I HAD THE WHOLE ASSIGNMENT DONE AND MY COMPUTER CRASHED AND LOST EVERYTHING. THE ASSIGNMENT IS DUE BY SUNDAY AT ANYTIME. I KNOW PEOPLE DONT LIKE IT WHEN YOU ASK FOR SOMEONE TO DO IT FOR THEM BUT IM NOT ASKING THAT I JUST NEED A LOT OF HELP BECAUSE I HAVE TO REDO EVERYTHING AND IM GOING OUT OF TOWON FRIDAY. IF SOME COULD HELP SAVE MY A@# I WOULD REALLY APPRECIATE IT.


Given the starting point in a maze, you are to find and mark a path out of the maze which is represented by a 20x20
array of 1s (representing hedges) and 0s (representing the foot-paths). There is only one exit from the maze
(represented by E). You may move vertically or horizontally in any direction that contains a 0; you may not move
into a square with a 1. If you move into the square with an E, you have exited the maze. If you are in a square with
1s on three sides, you must go back the way you came and try another path. You may not move diagonally.
For this program, use a single linked list.
Program Requirements
Following are the requirements for this program:

Your program should use single linked list.

Input of program: Input is a 20x20 array of characters (1s, 0s, and E) from an ASCII text data file
(maze.txt); for example:
E0001110000000100100
11100011101110001111
11111000101000111000
00001110101100010010
01011000101111000110
00001110000110011110
11011100110110111000
00011110110111111101
01011011110110100001
01000000000110110111
11011011010010000000
01010010011000101011
01111000101110101110
00001110000111011001
01101011101101000011
11000110100111011010
01110000100100110011
11010111110110000000
01110100011000111110
00011001000011100010

Each data line consists of one row of maze. Starting points (i.e. a row, column pair) in the maze will be input from
the keyboard.

Output of program: Echo print the maze complete with numbered rows and columns prior to asking the
user for their starting point. For each entry into the maze, print the complete maze with an S in the starting
point followed by the words ‘I am free’ if you have found a path out of the maze or the words ‘Help, I am
trapped’ if you cannot. You must also print the shortest path (by using a series of pluses (+)) you took
through the maze should one be found.

Recommended Answers

All 7 Replies

I think your lying...

I think your lying...

Well you can think whatever you would like.

Your response makes me thing your lying...

commented: If you can't be nice don't play here. -2

Your response makes me thing your lying...

Listen, I'm sorry that some people get onto these forums and tell lies just so people will do their assignments for them. But not everyone does that alright some people like myself actually run into problems and need some help.

I still think your lying...

I still think your lying...

Alright well i don't care what you think

In the two hours that you've been arguing with Clutchkiller, you could also have made a new effort and post it here to show us that you indeed have the intention of making this assignment yourself. But instead you chose to do nothing but argue if you were of weren't lying. That's enough for me. I'm closing this thread as a fire-precaution since you're obviously not going to produce any code.
If I'm wrong and you actually did do some work, feel free to start a new thread with your question and your effort.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.