Originally Posted by charlitos this example that works No it doesn't. Originally Posted by charlitos Code: typedef struct { char color[20]; char size [1]; ... fscanf(fp, "%s %s %d %lf", pdata[i].color, pdata[i].size, } Why does no one ever listen to me? Quzah.
typedef struct { char color[20]; char size [1]; ... fscanf(fp, "%s %s %d %lf", pdata[i].color, pdata[i].size, }
Hope is the first step on the road to disappointment.
View Tag Cloud