Wilson Ip
Posts: 1
Nickname: xenoss
Registered: Jun, 2002
|
|
Using BasicFileReader with text file, please help
|
Posted: Jun 13, 2002 7:26 PM
|
|
Advertisement
|
I want to use BasicFileReader with a txt file as the input stream. the file is called data.txt, in the same dir as the program (and other classes).
input = new BasicFileReader (data.txt);
(at the bottom) private OOJ.basicIO.BasicFileReader input; (the BasicFileReader class is in the correct dir)
but it just doesnt compile. Can someone please help me on this, tell me what I do wrong and the correct way to do this?
Thank you for your time.
|
|