I am trying to move one position back in the stdin.Using this code:
fpos_t fPos;
fgetpos(stdin,&fPos);
fPos -= 1;
fsetpos(stdin,&fPos);
But I get this error:
invalid operands to binary expression ('fpos_t'(aka '_G_fpos_t') and 'int')
But my question is why I get it? Then how can I set the fPos to one position behind?
Thanks.