READ TEXT FILE LINE BY LINE AND STORE ALL LINES IN ARRAY...

READ TEXT FILE LINE BY LINE AND STORE ALL LINES IN ARRAY...

Post by c2FsMj » Tue, 25 Nov 2008 02:17:01


Ho to reading txt file line by line and store all lines in array.
After all line are stored in array, loop in this array line by line for next
use...
You must know:
1- the dimension of text file is 163.457 MB
2- all line have max 132 lenght string
3 - into file is possible to have a blank line from one line to next line

I hope and think is the best way to import this BIG file...
I have count the lines are approx 3.364.120 lines!!!!!!!!!!!!!!!
 
 
 

READ TEXT FILE LINE BY LINE AND STORE ALL LINES IN ARRAY...

Post by Sm9ob » Thu, 27 Nov 2008 23:48:08

This is probably the wrong newsgroup unless there is something you haven't
said.

General Discussion would be my recommendation.