definetly works :)
it's intresting about good() returning false at the last data.
thanks daved and MacGyver for all of your help. finally a worknig nice script...
Type: Posts; User: ~Stingray~
definetly works :)
it's intresting about good() returning false at the last data.
thanks daved and MacGyver for all of your help. finally a worknig nice script...
maybe a little silly, i had to edit my txt file.
i had to drop the cursor to a empty line and save it. (before it was at the end of the data)
before
1 2 4
2 4 3|
after
many thanks MacGyver & dwks, great tips.
i didn't know much about vectors, checked out for a few tips.
your code was very vey helpful MacGyver :)
just a tiny problem left, the last vector is...
edited my first post...
thnx for the link but no good
i was trying everything :(
i took a look at;
http://www.cplusplus.com/reference/iostream/fstream/
but couldn't figure it out
many thnx to MacGyver & Daved...
Problem: i have a data file (*.txt or *.dat), N rows and 3 columns of data. Don't know the N number!
i want to read all the data from the file and see if the data...