I an a newbie to c++. I want to write a program to read values from file which has data in format:
text<tab or space>text
text<tab or space>text
...
(... indicates more such lines)
The number of lines in file varies. Now, I want to read this file and store the text into either 1 2D string array or 2 1D string arrays. How do I do it?
Furthermore, I want to run a for loop over this array to process the each entry in file. How can I write that loop?