+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Junior 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?

  2. #2
    Super F@D Folder
    Join Date
    Jun 2004
    Posts
    5,091
    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

  1. Launching Java webpages with different Java settings?
    By LostBok in forum Webmastering and Programming
    Replies: 1
    Last Post: December 11th, 2006, 03:38 AM
  2. Request: One On One Help
    By J1mmy in forum Webmastering and Programming
    Replies: 0
    Last Post: March 25th, 2006, 07:31 PM
  3. PC help request
    By msu1878 in forum Technical Support
    Replies: 9
    Last Post: July 16th, 2003, 09:13 PM
  4. A Request
    By ms2001 in forum Webmastering and Programming
    Replies: 0
    Last Post: May 5th, 2003, 11:41 AM
  5. ID request
    By ClubMed in forum IMO Community
    Replies: 5
    Last Post: April 26th, 2002, 05:12 PM

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Recommended Sites: ResellerRatings Store Reviews