Hi,
I get the above error message when I try to analyze a line read from an
ASCII file.
The code:
char*temp, *text;
in=fopen(filename,“r”);
fscanf(in,"%[^\n]",temp);fgetc(in);
sscanf(temp,"%*c%lg%*c%lg%*c…%lg%*c%s",p1,p2,p3…pn, text);
The lines of the file to read look like this:
'Text(0.0,0.4,0,5,…,23,“description”);'
I need to anaylze the string “Text”, relate the numbers and the string
"description" to it while getting rid of the brackets and semicolons.
I looked around in the forum, but didn’t really find a solution to this, sorry.
Cheers,
Joachim