求助:文件保存
各位大侠,有以下数据文件,其中每一列由一个数组存储(第一列数组中包含‘,’,其余列之间的‘,’单独存储在一个数组之中),要按照下面的格式保存成文本文件(.txt),要如何实现?另外,如何将结构体保存到文本文件当中?多谢20100312T000338Z, 24.4098, 118.1179, 288.2674, 287.4884
20100312T000732Z, 24.4096, 118.1179, 288.3101, 287.5107
20100312T001112Z, 24.4096, 118.1179, 288.3004, 287.5531
20100312T001505Z, 24.4096, 118.1179, 288.3379, 287.5901
20100312T001857Z, 24.4096, 118.1179, 288.3387, 287.6372
20100312T002254Z, 24.4096, 118.1178, 288.3344, 287.6858
20100312T002648Z, 24.4096, 118.1178, 288.3338, 287.7560
20100312T003043Z, 24.4096, 118.1178, 288.3328, 287.8252
20100312T003435Z, 24.4096, 118.1178, 288.3211, 287.8979
20100312T003830Z, 24.4097, 118.1177, 288.2954, 287.9512
20100312T004222Z, 24.4097, 118.1177, 288.2334, 287.9748
20100312T004617Z, 24.4097, 118.1177, 288.2659, 287.9950
20100312T005008Z, 24.4097, 118.1178, 288.2239, 288.0151
20100312T005400Z, 24.4097, 118.1177, 288.1883, 288.0361
20100312T005754Z, 24.4097, 118.1177, 288.2264, 288.0797
20100312T010149Z, 24.4097, 118.1177, 288.2164, 288.1164
20100312T010541Z, 24.4097, 118.1177, 288.2451, 288.1441
20100312T010935Z, 24.4097, 118.1177, 288.1605, 288.1602
20100312T011329Z, 24.4098, 118.1178, 288.1823, 288.1678
20100312T011723Z, 24.4098, 118.1178, 288.1796, 288.1623
20100312T012119Z, 24.4098, 118.1178, 288.1581, 288.1443 help fprintf???
页:
[1]