qingxing2005
Technical User
Dear all,
I met one problem when reading the following context file by using C. E.g. abc: 123123,123123123,123123123
I use the statement, i.e. fscanf(fp_t, "%s %d %d %d", stringA, cl[0], cl[1], c[2]);
However, the values cannot be read and put to the variable cl[1], cl[2]. Only reading value and putting it to cl[0] is feasible.
Is there anyone can help a little?
Thanks in advance,
I met one problem when reading the following context file by using C. E.g. abc: 123123,123123123,123123123
I use the statement, i.e. fscanf(fp_t, "%s %d %d %d", stringA, cl[0], cl[1], c[2]);
However, the values cannot be read and put to the variable cl[1], cl[2]. Only reading value and putting it to cl[0] is feasible.
Is there anyone can help a little?
Thanks in advance,