version gcc 2.95.3
I'm a bit stuck, I have to open a text file, read records and write them out to a new text file. The records are delimited by a semi-colon, there are between 80 and 90 fields, and about 40/50,000 records per file per month. A little less than half of them have to be formatted slightly differently, for example
the fifth field can look like this
and needs to look like an integer(20)
Should I write out each field in a seperate fprintf statement ?