But...I don't know exactly how I should declare the
String input in this code. And what do you mean by defining constants? Is it what I just asked you about? If so, how do I do it using args[0] and args[1]?
Since I don't quite understand this code, I hope you could show me exactly how the codes should be.
Oh...and last question~ if I'm going to specify the input file and use it to run the program, how do I run it? It seems to compile ok...but it shows this messayge:
WordTree.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Tool completed successfully
and it doesn't run if I use normal way to run this
which is:
c:\java\bin\java WordTree
If I run this using "c:\java\bin\java WordTree", it syas that
Usage: Word Tree inputfile & outputfile
How can I run this program properly?
Thank you so much for your consideration and help, David. I truly appreciate it.
[ March 29, 2005: Message edited by: Taylor Woods ]
[ March 29, 2005: Message edited by: Taylor Woods ]