• Post Reply Bookmark Topic Watch Topic
  • New Topic

reading a file column wise  RSS feed

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to read a text file which is having three columns,
is there any way to read this file column wise and save each column values in three separate arrays

please help me ...

 
Bartender
Posts: 9449
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are the columns fixed-width? If so, you could use a RandomAccessFile.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!