Hi,
I was just wondering, how do I read a .txt file into my program even though i do not know the name of the file? Thanks
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Hi,
I was just wondering, how do I read a .txt file into my program even though i do not know the name of the file? Thanks
Hi, How do I read one word at a time in a .txt file? Thanks
How are you to determine what/where the file is? You can't read in a file without a path.
Please keep your topic within one thread.
Threads merged.
This forum is not a code service. Help yourself to all the help we provide, but no one is doing your assignment for you.
Respond to post #3 if you still have problems
no code = no help