Read files simultaneously and merge the result in a file
I do not much about C programming and I have 306 files, and what I need is to:
- get the file (text, .htu) name, the value in the 3rd line (number)
- open the text file .soi associated to the other one and get a value in the forth column and
- open a third file associated to the other two and check in the 4th column for the '1' and '0'. Every time that a 1 is read, you have to get the value in the same row, 6th column and if it's a '0', get the 0. So you'll get a string of numbers and 0's.
Any help would be much appreciated.