Search:

Type: Posts; User: Jchang504

Search: Search took 0.10 seconds.

  1. Re: [SOLVED] Looping program gets stuck and doesn't reset variable

    Actually, by editing the ratio of the word patterns (ex. Consonant-Vowel-Consonant, Vowel-Consonant-Vowel, etc.) I was able to improve the ratio of valid words to above 50%, so I didn't think it was...
  2. Re: [SOLVED] Looping program gets stuck and doesn't reset variable

    Thanks, this is an enormous help. I could just run this program once, removing "//" from the print statements, and then i would know how many lines there are and I wouldn't need the first half or so...
  3. Re: [SOLVED] Looping program gets stuck and doesn't reset variable

    Well I realize that my program generates good words only about 25% of the time, and I want that number to be something more like 50%. I thought maybe I could use a Random to select a word from the...
  4. Re: Looping program gets "stuck" and doesn't reset variable

    Yes, I did change the System.out.println() statements so that I wouldn't need the console window. I like to run .jar applications from the desktop. Thanks for clearing that up. I will now mark this...
  5. Re: Looping program gets "stuck" and doesn't reset variable

    What I meant when I asked if the command to print the error was necessary was, will omitting it impair the program's function in any way? My understanding is that this command is used to display the...
  6. Re: Looping program gets "stuck" and doesn't reset variable

    Thank you so much for the help! I don't fully understand try blocks and stuff yet, so I'm not exactly sure what all this means, but as long as it works, I'm fine with it. I am thinking of adding a...
  7. Re: Looping program gets "stuck" and doesn't reset variable

    You see, the program itself generates random word combinations. The text file contains all the valid three letter words that are acceptable in Scrabble. The text file is used to check the random word...
  8. Re: Looping program gets "stuck" and doesn't reset variable

    Well here's the second results screen error:
  9. Re: Looping program gets "stuck" and doesn't reset variable

    I will attach a set of pictures to help you understand. The first set (appended with (1)) demonstrates the error that occurs when the initial word that is asked is a good word. When you click on...
  10. Re: Looping program gets "stuck" and doesn't reset variable

    Oh, right. I forgot about that. The file is a dictionary file containing a little less than a thousand words and their definitions. It's too big to attach to a post, but it can be found here:
    ...
  11. Re: Looping program gets "stuck" and doesn't reset variable

    Note: It's probably the loops at the bottom causing the problem - the top is just the random word generator formula and things.
  12. Logic error while programming a quizzer whic hquizzes people on Scrabble three letter words

    My program is a quizzer which quizzes people on Scrabble three-letter words (which are quite bizarre and there are just less than 1000 of). Everything seems to be working the way I want it to, but it...
Results 1 to 12 of 12