But, somehow sscanf is reading the first character as null.
I have four fields in my line separated by tabs. I need to check the presence of these 4 fields and also the 3 tabs separating the fields.
Sample line: + 12345678 23.22 Initial
My format string for sscanf is
Expand|Select|Wrap|Line Numbers
- sscanf(transstr,"%c%[\t]%ld%[\t]%lf%[\t]%s",&TransType,&tab1,§ime,&tab,&amount,&tab,Description) != 7