Home » Community » Newbie corner » Reading from .txt and putting data (double) in array[]
Reading from .txt and putting data (double) in array[] [message #47654] |
Tue, 21 February 2017 21:36  |
Diego22
Messages: 10 Registered: November 2016 Location: Zaragoza
|
Promising Member |
|
|
Hi,
I need to read a .txt already created and fill a array with the numbers of the indicated lines.
File starts with words and other numbers, so I want to read from 7th line to 19th, then put these 12 numbers (double) in a int array[].
I've been trying for a long time but I have not been able to. Let's see if someone can help me.
Regards.
[Updated on: Wed, 22 February 2017 01:02] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue May 06 16:38:17 CEST 2025
Total time taken to generate the page: 0.01391 seconds
|