Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to import a text document and put each line in an array(I am doint a school project and i am fairly new to eclipse. I was wondering how to add text from a text file to an array)
icon4.gif  How to import a text document and put each line in an array [message #1719784] Tue, 12 January 2016 02:49 Go to next message
Luxman Ponnampalam is currently offline Luxman PonnampalamFriend
Messages: 1
Registered: January 2016
Junior Member
I am making a 10 car database that will display the name, price and speeds of the cars. I would like to import a file with all the inofrmation about the car and put them into arrays. 1 array for the names of all the cars, another for all the prices of the cars and another for all the speeds of the car. How would i code this in eclipse so it imports a file with the information and assigns the information to the certain arrays. I need help with this as soon as possible as this project is due soon. If someone could help me it would be greatly apappreciated, thank you.
Re: How to import a text document and put each line in an array [message #1719833 is a reply to message #1719784] Tue, 12 January 2016 13:51 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
These forums are for questions specific to using Eclipse, not general programming help. People here are not likely to do your homework for you, in any case. You could try but even there you're not going to get a lot of help without showing that you've at least attempted the work yourself.
Previous Topic:Eclipse ANT task SUCCEED but do not work
Next Topic:How do you parse multiple XML files with Eclipse? Can Rinzo do?
Goto Forum:

Current Time: Mon Aug 19 04:17:45 GMT 2019

Powered by FUDForum. Page generated in 0.03393 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top