Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes anagram finder help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "anagram finder help" Watch "anagram finder help" New topic
Author

anagram finder help

Daniel Hwang
Greenhorn

Joined: Nov 05, 2010
Posts: 1
Im getting stuck writing a program that given a word list file will find all the anagrams in the list for individual strings of letters entered from the keyboard.

Here is what i got so far...


What am i doing wrong?
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11255
    
  16

it would help if you'd tell us what the problem is. does this compile? Does it run? Does it give the wrong output (and if so, what does it give and what were you expecting?)


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
 
subject: anagram finder help