version gcc 2.95.3
SunOS 5.6
Hi,
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
;1724470.00;
;774375.00;
;17022.00;
;3824571.00;
and needs to look like an integer(20)
;1724470;
;774375;
;17022;
;3824571;
Should I write out each field in a seperate fprintf statement ?
tia,



LinkBack URL
About LinkBacks



).