How to access elements of text file like in matrix

Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2007
Posts: 19
Reputation: chandrag is an unknown quantity at this point 
Solved Threads: 0
chandrag chandrag is offline Offline
Newbie Poster

How to access elements of text file like in matrix

 
0
  #1
Jul 23rd, 2007
Hi all,

i want to access elements of a text file columnwise just like accessing elements in a matrix.

ex: a text file contains a matrix with the below strings.

a apple +
b book +
c cat _
d dog _

...........and so on.

Now i want to access each element individually column wise.
could u please help somebody how to do that.

thank u
chandrag
Last edited by chandrag; Jul 23rd, 2007 at 5:54 pm.
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: How to access elements of text file like in matrix

 
0
  #2
Jul 23rd, 2007
answer postd on other form to this question
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: How to access elements of text file like in matrix

 
0
  #3
Jul 23rd, 2007
answer posted on the other forum where you posted this same question
Last edited by KevinADC; Jul 23rd, 2007 at 8:07 pm.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC