Hello,
I have a pretty easy question. (using C)
In a sentence such as
In this document, there are 345 words and 6 figures
How can I scan 345 and 6 while ignoring all that is in between ?
I tried fscanf(FILE *pointer,"%d %d",&words,&figs);
But it only gets the first value ...
What am I doing wrong ?
EDIT
Im sorry I forgot to mention, the statement is always fixed ...
In this document, there are # words and # figures