Hello,
I have a test file which looks like following
-------------------------------------------------
file has fruits :: apple orange banana |
23 16 7 |
-------------------------------------------------
means it has 23 apples, 16 oranges and 7 banana. What I want is to,
store the fruit names and their respective numbers in a matrix or fruit names in an 1D array and numbers in another 1-D array so that I can pull particular info when ever I need.
Can you guys help or at least suggest how should I proceed?
Thanks