mardi 23 août 2016

How to Separate Columns in a txt file , So that I can search for a specific column by typing the column header in command prompt

I have a input.txt file that has columns. I was thinking to create N amount of arrays(N = amount of columns in file) and store each word (char) into an array while increment after each insertion. Then map arrays 1 to N to the according column headers. Any advice/tips on how to implement this or different ways to do it will be appreciated.

PS. My first question so I hope it is clear enough.

Aucun commentaire:

Enregistrer un commentaire