Simple Java Question (reading text file of integer values)



For a project, we need to read a text file, that contains an integer
value on every line. We would like to store the integer values in an
array (the first integer being stored in arrayname[1]). Does anybody
have an idea how to write such a program?

We are grateful for any help we get! Thank you very much in advance.

.



Relevant Pages

  • delete rows from datagrid
    ... My problem is that whatever rows I delete, dgDeleted is always empty ... What should I do to store the deleted rows in a dataset so i can ... Thx ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: IMAGE SEGMENTATION(CL help)
    ... %code for dividing the image. ... % here I need to store it into same varible such as l ... Pranabi ... Prev by Date: ...
    (comp.soft-sys.matlab)
  • Re: does Exchange provide a unique id for messages?
    ... provides a unique identifier for an item across the store and will not ... change as long as the item remains in the same folder" ... Unfortunately the latter statement is correct. ... Prev by Date: ...
    (microsoft.public.exchange2000.development)
  • Re: Answering machine with menu built in
    ... No matter how tempting it is, or how grateful we would all be, I hope ... you arent planning to go to the store that sells these things with a ...
    (misc.consumers)
  • Network Device Inventory Database
    ... I am trying to create a database to keep track of static IP addresses ... This has also got to store the location of the device, ... when the max of Part 4 has been reached, and to get Part 4 to reset and start ... Prev by Date: ...
    (microsoft.public.access.tablesdbdesign)