Hello
I have a following line inside a .txt file
This$is$my$Input$203
I would like to know whether is it possible only to store the 203 value in variable using fscanf. So without declaring char arrays to store all those strings.
I was thinking of something like this ;
fscanf(fp,"%*[^$]$%*[^$]$%*[^$]$%*[^$]$%d",&number)
But its just plain stupid ..
Thanks for any input
Joey