By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,554 Members | 1,146 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,554 IT Pros & Developers. It's quick & easy.

Input a txt file

P: 1
Could anyone show me how to input a txt file and view the same txt file? or delete the txt file that was inputted?

ive searched the net for ages but havent found anything.

Thanks for any help.
Jan 29 '07 #1
Share this Question
Share on Google+
3 Replies


Ganon11
Expert 2.5K+
P: 3,652
What do you mean by input a txt file? Do you mean open an object that will retrieve data from the txt file? Do you mean ask the user which txt file they'd like to open?

What do you mean by view the txt file at the same time?
Jan 30 '07 #2

10K+
P: 13,264
Could anyone show me how to input a txt file and view the same txt file? or delete the txt file that was inputted?

ive searched the net for ages but havent found anything.

Thanks for any help.
Instead of searching for a solution you should be reading about how to use Scanner and FileWriter and then try to write the solution yourself. We are willing to help if you are willing to put some effort yourself.
Jan 30 '07 #3

hirak1984
100+
P: 316
nest time please post what code u have tried with.Best of luck.
Jan 30 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.