[Show all top banners]

pat
Replies to this thread:

More by pat
What people are reading
Subscribers
:: Subscribe
Back to: Moderated/Promotions Refresh page to view new replies
 Check out my new blog.
[VIEWED 2300 TIMES]
SAVE! for ease of future access.
Posted on 04-22-07 8:48 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

nice blog on java......

can you post the code for this java question please..here or on your blog......

"Write a program to read a 10x10 maze from a text file.

'*' indicates the starting point.
'1' means the path is blocked.
'0' means a possible path.
'E' means an exit.

The output of the program will be the list of (X,Y) coordinates from the starting point to an exit.
If there is no way out for the maze, indicate so."

Thanks....
 
Posted on 04-22-07 11:24 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I will solve that tomorrow, and post it. Check this blog around tomorrow evening.
 
Posted on 04-23-07 9:09 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Thanks......you are awesome...
 
Posted on 04-23-07 9:54 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I have posted similar but not exact solution to your problem. I hope you can draw a lot of ideas to solve your problem. If you have problem reading maze data from file, let me know, I will post this (reading data from file) as a new post in http://javanepal.blogspot.com. I have complied and test run the code, it runs well.

So far as co-ordinates are required, you can save them to an arraylist, whenever you are saving the path as 7 (PATH).

Hope it helps you a little bit.
 
Posted on 04-24-07 8:06 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

http://taggedmails.blogspot.com has been updated with two forwarded mails:

a) Bra Codes
b) Top 7 Reasons Why I Joined IT


For Java Programmers,

http://javanepal.blogspot.com has been updated with

a) String find and replace
 
Posted on 04-29-07 6:55 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

http://www.taggedmails.blogspot.com has been updated with 3 forwarded mails
containing
a)funny leave letters.
b)Wish of a woman
c)Top Seven Reasons Why I Joined IT


More coming soon.

Please pay a visit.
 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 7 days
Recommended Popular Threads Controvertial Threads
Travelling to Nepal - TPS AP- PASSPORT
TPS Work Permit/How long your took?
मन भित्र को पत्रै पत्र!
Does the 180 day auto extension apply for TPS?
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters