如何用结构体读取txt数据?
txt文本数据范例如下:日期 开盘 最高 最低 收盘 成交量 成交额
05/15/2009 11.53 11.69 11.43 11.55 1913500 22128956.000
05/18/2009 11.60 11.92 11.43 11.84 3420700 40091824.000
05/19/2009 12.07 12.07 11.60 11.67 2211700 25978724.000
05/20/2009 11.70 11.90 11.35 11.40 1949700 22353948.000
05/21/2009 11.40 11.40 10.70 10.87 3330100 36678032.000
05/22/2009 10.70 10.92 10.60 10.70 2508200 26997016.000
05/25/2009 10.54 10.95 10.50 10.88 1663600 17948432.000
05/26/2009 10.80 10.99 10.71 10.76 1708100 18498696.000
05/27/2009 10.78 10.90 10.65 10.90 1425200 15385793.000
06/01/2009 11.00 11.19 10.89 11.08 2078399 22979084.000
06/02/2009 11.25 11.85 11.09 11.36 2909166 33491306.000
06/03/2009 11.25 11.45 11.20 11.37 1960718 22111660.000
06/04/2009 11.26 11.60 11.20 11.27 1480500 16788844.000
06/05/2009 11.29 11.42 11.04 11.11 1651510 18422328.000
06/08/2009 11.12 11.79 10.89 11.58 2733500 30797804.000
06/09/2009 11.58 11.84 11.34 11.82 4727900 55108836.000
06/10/2009 11.90 11.96 11.70 11.76 3204320 37943792.000
06/11/2009 11.76 11.76 11.40 11.61 3578400 41295512.000
06/12/2009 11.74 11.95 11.52 11.72 3469600 40973296.000
06/15/2009 11.80 11.88 11.48 11.60 2229500 25852336.000
06/16/2009 11.50 11.51 11.10 11.38 3070700 34575692.000
06/17/2009 11.46 11.60 11.27 11.41 3217000 36661608.000
如何使用结构体读取上述数据?