Thread: Java help request
-
April 19th, 2009, 03:37 PM #1Junior Member
- Join Date
- Apr 2009
- Posts
- 1
Java help request
I need to write a Java application for school where I search an existing .txt file to match letters. Its a hangman theory where the user places the letter to search for into the coded box and then Java searches the file and returns the matching letters and places them in the same location on the screen in a separate text field. I have created a random access file with three quotes in it. Can anyone help me with how to match the letter entered to the positions in the quote?
-
April 20th, 2009, 11:16 PM #2
I assume you're going through 1 character at a time using a loop? If so you just add a variable that gets incremented in the loop to keep track of how many characters you've searched through. That make sense?
-Kevin
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Launching Java webpages with different Java settings?
By LostBok in forum Webmastering and ProgrammingReplies: 1Last Post: December 11th, 2006, 03:38 AM -
Request: One On One Help
By J1mmy in forum Webmastering and ProgrammingReplies: 0Last Post: March 25th, 2006, 07:31 PM -
PC help request
By msu1878 in forum Technical SupportReplies: 9Last Post: July 16th, 2003, 09:13 PM -
A Request
By ms2001 in forum Webmastering and ProgrammingReplies: 0Last Post: May 5th, 2003, 11:41 AM -
ID request
By ClubMed in forum IMO CommunityReplies: 5Last Post: April 26th, 2002, 05:12 PM



LinkBack URL
About LinkBacks



Reply With Quote

Massive heart attack! Shocking! RIP. James Gandolfini Dead At 51; 'The Sopranos' Star Died Of Heart Attack Bill
Actor James Gandolfini Dead At 51